void C**Dlg::OnMouseMove(UINT nFlags, CPoint point) { CPoint newPt = ConvertPt(point);//假设该函数将point转成你的坐标系坐标 m_sCoord.Format("X坐标为:%d,Y坐标为:%d",newPt.x,newPt.y);//假设m_sCoord为显示坐标的标签绑定的字符串变量 UpdateData(FALSE); }
15,980
社区成员
115,867
社区内容
加载中
试试用AI创作助手写篇文章吧