>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