16,472
社区成员
发帖
与我相关
我的任务
分享
// 1
void CXXXDlg::OnPaint()
{
CPaintDC dc(this);
CString str(_T("HelloWorld"));
dc.DrawText(str, CRect(0,0,20,100), DT_WORDBREAK);
}
// 2
void CXXXDlg::OnPaint()
{
CPaintDC dc(this);
CString str(_T("Hello World"));
dc.DrawText(str, CRect(0,0,20,100), DT_WORDBREAK);
}