33,311
社区成员
发帖
与我相关
我的任务
分享
CString cs;
::SendMessage(文本框, WM_GETTEXT, 100, (LPARAM)(cs.GetBuffer()));
OutputDebugString(cs);
CString cs;
::SendMessage(文本框, WM_GETTEXT, 100, (LPARAM)(cs.GetBuffer(100)));
cs.ReleaseBuffer();
OutputDebugString(cs);