General information
Category:
Windows API functions
I am tyring to display icons for any type of file, similar to the windows explorer. (I.E. - display the correct icon for a word document, the correct icon to represent an excel spreadsheet)
My problem is in getting the associated icon of a file and putting it into the image list for the listview control.
I need the correct syntax for the ExtractAssociatedIcon API call, code that can draw the picture from the handle that is returned by the API function and how to add the newly created object to the listview's imagelist.
OR
any other suggestions on how to do this?????
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only