Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extract Associated Icon to a Treeview
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00668799
Message ID:
00669439
Vues:
29
>hIcon remains 0 after the call to ExtractIconEX(). I have tried different files with the same result.

That's the problem then. Icon indexes are 0 based. If there are six icons in the file, they're numbered 0 through 5. 0 will return the first icon. Try that, and see if the object doesn't properly initialize.

I fixed my problem, BTW. Had the wrong version of the ImageList loaded (Doh!).< g >
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