Re: How to change startup form in vc++ MFC
- From: "hardik" <hardikdangar@xxxxxxxxx>
- Date: 10 Oct 2006 11:27:55 -0700
i've write,
Cform2Dlg dlg;
but compiler says it doesnot found any classes
Cform2Dlg dlg is undeclared identifier
how i can correspond my dialog class with form2? plz tell me in detail
thank you to help me so much and sorrry(for disturbing you too much) i
am very new so i don't understnad those thinks that much but really
thankful to you.
Ajay Kalra wrote:
You need to change the following line of code:If you dont a dialog class corresponding to Form2, you will need to
CMultiformsDlg dlg; // this should change to CForm2 (Your dialog
class)
It should become:
CYourFormClassDlg dlg;
create one. You can either use the wizard or do it by hand.
.
- Follow-Ups:
- Re: How to change startup form in vc++ MFC
- From: Ajay Kalra
- Re: How to change startup form in vc++ MFC
- References:
- How to change startup form in vc++ MFC
- From: har***
- Re: How to change startup form in vc++ MFC
- From: Scott McPhillips [MVP]
- Re: How to change startup form in vc++ MFC
- From: har***
- Re: How to change startup form in vc++ MFC
- From: David Ching
- Re: How to change startup form in vc++ MFC
- From: har***
- Re: How to change startup form in vc++ MFC
- From: Ajay Kalra
- Re: How to change startup form in vc++ MFC
- From: har***
- Re: How to change startup form in vc++ MFC
- From: Ajay Kalra
- How to change startup form in vc++ MFC
- Prev by Date: Re: posting via MSDN or Google
- Next by Date: Re: How to change startup form in vc++ MFC
- Previous by thread: Re: How to change startup form in vc++ MFC
- Next by thread: Re: How to change startup form in vc++ MFC
- Index(es):