摘要: 原文链接:http://www.cnblogs.com/Bachelor/archive/2012/10/31/2747287.html问题情景:1、在对话框上,添加组合框,添加变量。运行程序,报错。2、如果用此方法进行ID的获取, CComboBox m_ComBox; m_ComBox.Attach(GetDlgItem(IDC_COMBO1)); m_ComBox.AddString(_T("1"))会报错: error C2664: 'Attach' : cannot convert parameter 1 from 'class CWnd 阅读全文
posted @ 2012-10-31 00:24 渐入围城 阅读(600) 评论(0) 推荐(0) 编辑