Where are TOpenDialog calibration data stored and how can it be reset?

TOpenDialog has the ofEnableSizing option, which allows the user to resize the dialog box. This calibration data is apparently stored for the application. If the program starts again, the dialog opens with the same size.

My question is where is this data stored. I wonder if there is an easy way to reset data. I did not find any information about this in the documentation for ofEnableSizing or for the ofEnableSizing API flag.

+5
source share
1 answer

This is stored in HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\CIDSizeMRU . The first few hexadecimal Unicode code points identify the application name exe. 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 . When deleted, it will reset to default.

I don’t think there is documentation there. I found in Process Monitor .

+10
source

All Articles