I have a dialog with a graphic of evenly spaced dots. When the cursor is over that region I want the cursor to "snap to" the dots.
I'm having trouble converting the values from GetCursorPos to the coordinates of the graphic in my dialog. Can someone offer (or a reference to) a snippet of code to make this conversion.
Also how would recommend doing the "snap to"? Based on a wm_mousemove event or setup a timer?
Thanks
Brent Boshart
------------------
I'm having trouble converting the values from GetCursorPos to the coordinates of the graphic in my dialog. Can someone offer (or a reference to) a snippet of code to make this conversion.
Also how would recommend doing the "snap to"? Based on a wm_mousemove event or setup a timer?
Thanks
Brent Boshart
------------------
Comment