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:
01046691
Vues:
21
>
> Right. Reset back all DC seting (the one with lh_Old... ).
> Destroy all GDI object, the DC. Anything involve with GDI.
>

looked up my old stuff. ReleaseDC() was the one I will need there.

BTW

You wrote
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?
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform