大约有 1 项符合查询结果(耗时:0.0008秒) [XML]
CDC:DrawText 多行显示文本(文本自动换行) - C++ UI - 清泛IT社区,为创新赋能!
//长文本自动换行
dc.DrawText(str, &rect, DT_LEFT | DT_TOP | DT_WORDBREAK | DT_EDITCONTROL, m_pfSongTi);
函数原型:
代码:int DrawText(
HDC hDC, // handle to DC
LPCTSTR lpString, // text to draw
int ...
