MFC中如下语句中的POINT是怎么解释?
voidCdcDlg::OnLButtonDown(UINTnFlags,CPointpoint){CWindowDCdc(this);dc.Rectangle(poin...
void CdcDlg::OnLButtonDown(UINT nFlags, CPoint point)
{
CWindowDC dc(this);
dc.Rectangle(point.x-10,point.y-10,point.x+10,point.y+10);
CDialogEx::OnLButtonDown(nFlags, point);
} 展开
{
CWindowDC dc(this);
dc.Rectangle(point.x-10,point.y-10,point.x+10,point.y+10);
CDialogEx::OnLButtonDown(nFlags, point);
} 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询