how to access cursor images?
Hi,
I want to simulate the real windows cursor in openGL, and for that purpose I need a way to first "copy" the bitmap or image information to a RGB buffer. I am having hard times understanding how to extract the image information from the cursor handle. What I have is following:
ICONINFO inf;
GetIconInfo(LoadCursor(NULL,IDC_ARROW),&inf);
Now the bitmap is supposed to be in inf.hbmMask. Is there a simple way to convert it to RGB and to retrieve its dimensions? GetBitmapDimensionEx gives me strange values.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement