在c++的mfc中怎样从一个文本框中获得文本?

2025-02-27 09:42:06
推荐回答(1个)
回答1:

CString str;
GetDlgItemText(你要获得的ID,str);

获得的文本保存再str中