how to access cursor images?

Started by
-1 comments, last by floatingwoods 15 years, 2 months ago
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