Information générale
Catégorie:
Fonctions Windows API
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?????
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement