在一个SDI,MDI或者对话框程序中 怎么增加窗口都不是Cwnd类即进入新创建的窗口代码界面都是这样的TestDlg::TestDlg(CWnd* pParent /*=NULL*/)
: CDialog(TestDlg::IDD, pParent)但是我记得过去都是这样的CTestDlg::CTestDlg(CWnd* pParent /*=NULL*/)
: CDialog(CTestDlg::IDD, pParent)为什么窗口不能生成类了呢?郁闷
: CDialog(TestDlg::IDD, pParent)但是我记得过去都是这样的CTestDlg::CTestDlg(CWnd* pParent /*=NULL*/)
: CDialog(CTestDlg::IDD, pParent)为什么窗口不能生成类了呢?郁闷
d:\te。.h(20) : error C2146: syntax error : missing ';' before identifier 'm_dlgChild'
d:\test softproduct\59_s1\59_s1view.h(20) : error C2501: 'TestDlg' : missing storage-class or type specifiers
等等