一个是窗口坐标,一个是屏幕坐标 GetCursorPos The GetCursorPos function retrieves the cursor's position, in screen coordinates. CWnd::OnLButtonDown point Specifies the x- and y-coordinate of the cursor. These coordinates are always relative to the upper-left corner of the window.
GetCursorPos
The GetCursorPos function retrieves the cursor's position, in screen coordinates. CWnd::OnLButtonDown
point
Specifies the x- and y-coordinate of the cursor. These coordinates are always relative to the upper-left corner of the window.