Closed bduffek closed 6 years ago
Sorry @bduffek, I've been rather neglectful in this repository. I've granted you contributor status so you can take charge if you would like.
Thanks @broken-e, I will do what I can. My experience is quite limited so I'll be careful.
Hello. I've never done this before so my apologies if anything is wrong/improper, or if some of it is a mess.
I've made four primary changes. Firstly, the directory gets appended to the end of the description by default. AskDescription's default value was changed to reflect this. This can be disabled by setting ShowDirectory REG_DWORD to 0. When disabled the default text adjusts accordingly.
Secondly there was a request for a choice in the default button. Setting DefaultButtonOK REG_DWORD to 1 will change the default button as such.
Thirdly I added the option to intercept copy operations. I could not figure out how to get this to skip Ctrl+V unfortunately. As such it is off by default and can be enabled by setting WarnOnCopy REG_DWORD to 1. To go with this I added the option for the registry values ItemText2 and AskDescription2 to allow customization. The text of the "dummy" default option to cancel was changed to "Cancel action."
Thank you for this! If only I could figure out how to get it to skip non-primary/right click drag and keyboard shortcuts. Is it even possible to?
A summary of the total registry options copying the format from your site:
Lastly I added a flag to the function that reads the HKLM part of the Registry such that it reads from the 64 bit area for both 64 and 32 bit DLLs so duplicate information is not necessary in the Wow6432Node. If the extension worked for Windows 2000 in the past this change would break compatibility however, since 32 bit versions of XP+ ignore the flag but Windows 2000 would encounter an error.