Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个需要从中获取文本的 CRichEdit。最好的方法是什么?GETTEX ? 流输出?如果我采用 StreamOut 方法,我的回调会是什么样子?
它继承自 CWnd,因此您应该能够使用 GetWindowText()。
CString returnText; yourRichEdit.GetWindowText(returnText);