TOpenDialog
has an option ofEnableSizing
which allows the user to modify the dialog size of an open dialog. This sizing data seems to be stored for the application. If the program is started again the dialog is opened with the same size.
My question is, where this data is stored. I wonder if there exists an easy way to reset this data. I found no information regarding this in the documentation for ofEnableSizing
nor for the correspondending API flag OFN_ENABLESIZING
.
This is stored under HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\CIDSizeMRU
. The first few unicode hexadecimal codepoints identify you application exe name. So, for example, Project1.exe
reads as 50 00 72 00 6F 00 6A 00 65 00 63 00 74 00 31 00 2E 00 65 00 78 00 65 00
. Deleting it will reset to default settings.
I don't think there's any documentation on this. I found on Process Monitor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With