August 18th, 2010, 03:01 AM
How to get current current mouse cursor icon?
Hi, I use this code to get mouse position on screen and it's working. I also get cursor width and height. What I need is cursor icon in the moment I call function GetIconInfo. In ii iI have ii.hbmColor and ii.hbmMask. Value of hbmColor is 0x0, hbmMask is 0x2f0517f1. Can I extract mouse cursor from that two pointer and how?
int width, height;
GetObject(ii.hbmMask, sizeof(BITMAP), &bitmap);
width = bitmap.bmWidth;
height = bitmap.bmHeight;
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.