
CodePudding user response:
API GetCursorPosCodePudding user response:
Only C, processing WM_LBUTTONDOWN message, LPARAM parameter is the corresponding window trigger coordinates of the mouse the left key click message,Can also use the API GetCursorPos, relevant API functions and ClientToScreen, ScreenToClient to transform coordinate system,
CodePudding user response:
WM_LBUTTONDOWN