GetCursorPos The GetCursorPos function retrieves the cursor's position, in screen coordinates. ------------------------ BOOL GetCursorPos( LPPOINT lpPoint // 鼠标坐标,相对于屏幕的); 使用方法 POINT pt; if (GetCursorPos(&pt)) { ... }
BOOL GetCursorPos( LPPOINT lpPoint // cursor position );
The GetCursorPos function retrieves the cursor's position, in screen coordinates.
------------------------
BOOL GetCursorPos(
LPPOINT lpPoint // 鼠标坐标,相对于屏幕的);
使用方法
POINT pt;
if (GetCursorPos(&pt))
{
...
}
LPPOINT lpPoint // cursor position
);