15,979
社区成员
发帖
与我相关
我的任务
分享
void CMyTestDlg::OnMouseMove(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
if(bcapture)
{
CClientDC dc(this);
OnPrepareDC(&dc); //error C3861: 'OnPrepareDC': identifier not found
CRect oldrc(pt,size);
InvalidateRect(oldrc,TRUE);
pt=point-offsetsize;
CRect newrc(pt,size);
InvalidateRect(newrc,TRUE);
}
CDialog::OnMouseMove(nFlags, point);
}