请教一个控件显示的简单问题,麻烦大虾们解决下!!!
在A窗口的编辑框(m_xingmingshuru)输入一个数据,通过按钮控件(tijiao),在A窗口下的子窗口(abc)内的编辑框(m_xingmingxianshi)显示出来,麻烦大虾们指教一下,小弟是个初学者void CAaaDlg::Ontijiao()
{
// TODO: Add your control notification handler code here
Cabc abc;
abc.domodal();
UpdateData(TURE);
m_xingmingxianshi=""+m_xingmingshuru+"\r\n";
UpdateData(FALSE);
}
--------------------Configuration: aaa - Win32 Debug--------------------
Compiling...
aaaDlg.cpp
D:\VC6.0++\MSDev98\MyProjects\aaa\aaaDlg.cpp(176) : error C2065: 'Cabc' : undeclared identifier
D:\VC6.0++\MSDev98\MyProjects\aaa\aaaDlg.cpp(176) : error C2146: syntax error : missing ';' before identifier 'abc'
D:\VC6.0++\MSDev98\MyProjects\aaa\aaaDlg.cpp(176) : error C2065: 'abc' : undeclared identifier
D:\VC6.0++\MSDev98\MyProjects\aaa\aaaDlg.cpp(177) : error C2228: left of '.domodal' must have class/struct/union type
D:\VC6.0++\MSDev98\MyProjects\aaa\aaaDlg.cpp(178) : error C2065: 'TURE' : undeclared identifier
D:\VC6.0++\MSDev98\MyProjects\aaa\aaaDlg.cpp(179) : error C2065: 'm_xingmingxianshi' : undeclared identifier
D:\VC6.0++\MSDev98\MyProjects\aaa\aaaDlg.cpp(179) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'class CString' (or there is no acceptable conversion)
执行 cl.exe 时出错.