Hello Kohei, all,<br><br>this is a possible patch for the problem that the button at File->Properties is always disabled even if you have a password protected file.<br><br>The problem was that SID_PASSWORD, which saved the plain text password, is no longer used but we use SID_ENCRYPTIONDATA which saves the hash. I changed the code for this button so that it shares the implementation with the file save dialog.<br>
<br>I haven't found a nice place for the method RequestPassword so I have decided to leave it in filedlghelper.[ch]xx . I'm open for any suggestions where this method should be located. This patch applies to 3.4, I haven't tested yet with master since master has several code changes in the password related code.<br>
<br>Regards,<br>Markus<br>