19,468
社区成员
发帖
与我相关
我的任务
分享
OnMouseMove(UINT nFlags, CPoint point)
{
//鼠标在图像内
CRect r;
GetDlgItem(IDC_PIC)->GetWindowRect(&r);
(GetDlgItem(IDC_PIC)->GetParent())->ScreenToClient(r);
if(!r.PtInRect(point))
return;
}