void CmfcdialogDlg::OnBnClickedButton1()
{
GetDlgItem(IDC_BUTTON1)->GetWindowTextW(strTextonButton);
m_edit1.SetWindowTextW(strTextonButton);
// TODO: Add your control notification handler code here
}
(附件为VS2010项目)
可以读取啊!GetWindowText()
就可以
什么办法?使用GetWindowText函数。