我正在显示文本:
hWndText = CreateWindowEx(WS_EX_CLIENTEDGE,
"Edit", cquestions.at(1).c_str(), WS_VISIBLE | WS_CHILD | WS_BORDER | ES_LEFT,
10, //x
10, //y
TextFieldWidth, //width
100, //height
hWnd, NULL, NULL, NULL);
(cquestions是一个std::vector<std::string>)。虽然结果如下所示。
我已经尝试插入"\n"它,但它不起作用。
我怎样才能让文字自动换行?