![]() |
|
#1
|
|||
|
|||
Menus And Dialogs Not Running!!?Hi,
- I created a new MFC with AppWizard, inserted a menu and another dialog. - also created new classes for them (menu baseclass=CFrameWnd?!) - i've included the menu into 1 of the dialog and i want to click on "New", the second dialog pops up - then i placed the code: CAddNewDlg dlg; dlg.DoModal(); everything compiles with no errors & warnings but when i execute the program, nothing happens?! none of the dialog box shows... i've done this a few times and the program always run until i've created the menu and 2nd dialog box what am i missing?! thanks |
|
#2
|
||||
|
||||
|
Quote:
Ok, what kind of menu i that?? context menu or mainmenu?? you said nothing happens, you mean when you click the menu nothing happens or even the menu doesn't show up?? can you show the code on how you crate the menu..?? __________________
When you say "I wrote a program that crashed Windows," people just stare at you blankly and say "Hey, I got those with the system, for free." Linus Torvalds |
|
#3
|
|||
|
|||
|
Quote:
- it's a mainmenu which i insert in the resource window so no code - nothing happened meaning when i click on Execute Program no dialog, nothing run.. no pop up NOTHING! - erm.. by the way... i dunno what i did but it's erm.. working now.. thank you.. |
Recent GIDBlog
US Elections and the ?Voter?s Responsibility? by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The