int x11=495;
int y22=600;
LPARAM lparam111 = MAKELPARAM(x11,y22); //x坐标,y坐标
Sleep(100);
LRESULT result =::SendMessage(pWnd2->m_hWnd,WM_LBUTTONDOWN,VK_LBUTTON,lparam111);
LRESULT result1 =::SendMessage(pWnd2->m_hWnd,WM_LBUTTONUP,0,lparam111);
时间: 2024-11-16 17:31:31