Parameters:X-[in] Specifies the new x-coordinate of the cursor, in screen coordinates.
CRect rect;
this->GetWindowRect(rect);
this->ScreenToClient(&rect);
//this->ClientToScreen(&rect);
SetCursorPos(centerPoint.x,centerPoint.y);
//希望捕捉到最近的点
SetCursorPos还是屏幕坐标,可以获得客户区原点相对屏幕原点的坐标自己做换算吗?