Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert Icon to Bitmap
Message
 
To
04/09/2005 18:16:49
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01046527
Message ID:
01046691
Views:
22
>
> 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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform