Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get ICON from a DLL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00190405
Message ID:
00190411
Vues:
14
>Yet another API inquiry
>
>I am attempting to implement the same functionality as Windows Explorer where the icon associated with a file extension is displayed on the ListView panel (this is based on its registry setting). I have no problem extracting the values needed from the registry however, most DefaultIcon values are pointing to DLLs where an extry may look like this:
>
>c:\program files\microsoft visual studio\vfp98\vfp6.exe,-102
>
>
>Is there any way to retrieve the icon from that DLL so that I can then attach it to an ImageList control?
>
>
>Thank you

Hi Juan,

You can extract it, or rather a handle to it, and display it. I don't think that you can use it with the ImageList control.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform