I just read aboyut the New PM controls, File Open Dialog. It looks good.
I have a question which I posted to the news groups but noone answered, and looking at the picture of the File Open Dialog it would seem that my problem has been solved in that implementation.
My questions were :
1: When using WinLoadFileIcon it would appear that the function does not always return the icon associated with a file at least not the same icon as displayed when opening a folder in which those files are in.
For example if the following files exist in a directory using WinLoadFileIcon
Code: Select all
firefox.exe - the correct icon is returned
test.txt - the correct icon is returned (standard icon for a file )
computer.bmp - the standard icon for a file is returned
computer.jpg - the standard icon for a file is returned
a.zip - the standard icon for a file is returned
However if the same directory is opened then in both Icon or Details view, the icon for a Bitmap and the icon for a JPEG, as well as the ZIP icon are displayed.
How can I obtain those icons?
2: How can I obtain in C the association of a data file object to its default program object?