15,980
社区成员




void CAmmterListWnd::OnPaint()
{
CRect rc;
GetUpdateRect(&rc, TRUE);
CString csTmp = "";
csTmp.Format("Trace updateRect left = %d, right = %d, top = %d, bottom = %d", rc.left, rc.right, rc.top, rc.bottom);
OutputDebugString(csTmp);
CPaintDC dc(this);
CRect rect;
GetClientRect(&rect);
dc.DrawText("Test", &rect, DT_CENTER);
}