When I call the GetCursorPos() function, I get the x and y values of the cursor position relative to the size of the monitor. What can I use or how can I modify the GetCursorPos() function to get data about the client window, not the monitor?
|
1 answer
You can use the MapWindowPoints function
MapWindowPoints(HWND_DESKTOP, my_window, p_point, 1); - Thanks, I will try! - Oleg Kuvshinov
|
