dc.Arc(&rect,rect.TopLeft,rect.BottomRight) 错在哪了?
这段程序的最后一句报错——CRect rect;
GetDlgItem(IDC_LIST2)->GetWindowRect(&rect);
ScreenToClient(&rect);
CClientDC dc(this);
dc.Arc(&rect,rect.TopLeft,rect.BottomRight);
error C2664: 'int __thiscall CDC::Arc const struct tagRECT *,struct tagPOINT,struct tagPOINT)' :
cannot convert parameter 2 from 'const class CPoint &void) const' to 'struct tagPOINT'
No constructor could take the source type, or constructor overload resolution was ambiguous
[ 本帖最后由 andyandy 于 2011-5-22 16:08 编辑 ]