void CAboutDlg::OnButton1()
{
// TODO: Add your control notification handler code here
CString strText;
m_strCombo.GetWindowText(strText);
}怎么会报“error C2039: 'GetWindowTextA' : is not a member of 'CString'”这个错阿?
{
// TODO: Add your control notification handler code here
CString strText;
m_strCombo.GetWindowText(strText);
}怎么会报“error C2039: 'GetWindowTextA' : is not a member of 'CString'”这个错阿?
CString m_strCombo;
改成:
CComboBox m_strCombo;
to EricHxy(龙真) :我没有申明CString m_strCombo呀,m_strCombo是一个ComboBox,我是申明了CString strText
to rabithao(兔巴哥):在类向导里的member varaiables 里m_strCombo,默认就是CString啊,没改过!还有谁知道吗?