MFC 创建对话框的问题。求大神解答。!!
在创建对话框时,出现错误:errorC2039:'Creat':isnotamemberof'CTestDlg'errorC2039:'showWindow':isnot...
在创建对话框时,出现错误:
error C2039: 'Creat' : is not a member of 'CTestDlg'
error C2039: 'showWindow' : is not a member of 'CTestDlg'
void CMyboleView::OnDialog()
{
// TODO: Add your command handler code here
//CTestDlg dlg;
//dlg.Domdal();
CTestDlg dlg;
dlg.Creat(IDD_DIALOG1,this);
dlg.showWindow(SW_SHOW);
} 展开
error C2039: 'Creat' : is not a member of 'CTestDlg'
error C2039: 'showWindow' : is not a member of 'CTestDlg'
void CMyboleView::OnDialog()
{
// TODO: Add your command handler code here
//CTestDlg dlg;
//dlg.Domdal();
CTestDlg dlg;
dlg.Creat(IDD_DIALOG1,this);
dlg.showWindow(SW_SHOW);
} 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询