Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ExtractIcon API Call
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00354869
Message ID:
00354910
Vues:
13
>I have issued the API call Extracticon and it has returned a handle to the icon I require. I cannot find any control in VFP that can be used with a Hdc reference to display the Icon. Any suggestions would be much appreciated
>
>Thanks
>
Anthony,

AFAIK, the only way to display an icon reference is to call the DrawIcon()function. I wrote an article in the Aug., 1998 issue of FoxPro Advisor that demonstrates how to do this. Further, there's a dialog (FileExists) in my Obj2Bmp application that uses LoadIcon() as a source of the icon handle. The technique for displaying it is the same as using ExtractIcon() or ExtractAssocatedIcon() as the source. You can download Obj2Bmp from the files section here at the UT under Win32 and other APIs.
George

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

Click here to load this message in the networking platform