响应鼠标的MOUSE_MOVE消息
void CAscPatchDlg::OnMouseMove(UINT nFlags, CPoint point) // point是客户区坐标
{
// TODO: Add your message handler code here and/or call default
CRect rect;
GetWindowRect(rect); // GetWindowRect获取的是屏幕坐标
ScreenToClient(rect); // 需要转换成客户区坐标
if (PtInRect(&rect, point))
{
OutputDebugString("in rect");
}
CDialog::OnMouseMove(nFlags, point);
}