void CAutoLineStatic::OnPaint()
{
CPaintDC dc(this);
CRect rect;
this-> GetWindowRect(&rect);
ScreenToClient(&rect);
CString str;
this->GetWindowText(str);
dc.DrawText(str, rect,DT_EDITCONTROL|DT_WORDBREAK);
}
本站僅提供存儲服務,所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請
點擊舉報。