Sort GetOpenFilename -- Is this possible??
I have a program that is using the GetOpenFilename Common Dialog box (API). I need to be able to set it to show the details view (list view is default) and sort according to the date.
These are the options that I see to acheive this in order of my preference.
1. Set something so that the changes that the user makes will be automatically saved for the next time the dialog box is opened.
2. Retrieve a message from the dialog box to indicate what the user has changed then I can save that in the registry. Then the next time the dialog box is opened my program will retrieve the setting from the registry and set the dialog box to this. This option requires two things that I don't know how to do. First, get the message from the dialog box when the settings are changed. Second, set the settings.
3. Just set what I think it should be (details view sorted by date).
If you can help with any part of this it would be appreciated.
Kevin