MFC像窗体坐标位置发送 点击消息
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);