Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert Icon to Bitmap
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01046527
Message ID:
01046693
Vues:
22
>looked up my old stuff. ReleaseDC() was the one I will need there.

About DC:

Get the DC - Release the DC
Create the DC - Delete the DC


>
>ls_IconInfo = DWord( 1 ) + replicate( c0, 16 )
>
>
>to prepare the ICONINFO structure. While the first part is the logical TRUE for Querying an icon not a cursor
>
>But the structure has a bool a the beginning.
>
>
>*-- IconInfo-Structure:
>*-- typedef struct _ICONINFO {
>*--     BOOL fIcon;
>*--     DWORD xHotspot;
>*--     DWORD yHotspot;
>*--     HBITMAP hbmMask;
>*--     HBITMAP hbmColor;
>*-- } ICONINFO;
>*--
>
>
>Will that work if I have a DWord instead?

From C/C++: BOOL is equal to DWORD, while BOOLEAN is equal to BYTE

BTW, I'm now going to bed, it's 5:58 AM.

See you later :)
Herman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform