GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 04-Sep-2006, 23:27
Chronocide Chronocide is offline
New Member
 
Join Date: Sep 2006
Posts: 6
Chronocide is on a distinguished road

Traversing multiple dialog boxes


Hi,

I'm fairly new to MFC (and this forum) and I'm making a sort of fill-in-the-blank application with static text and edit boxes which has multiple "pages". I used DoModal to open the next dialog box and OnOK to close the current one (e.g. CPage2Dlg.DoModal(); OnOK(); in the first 'next' button), and this method works. But it doesn't work in reverse (using CPage1Dlg instead). Does anyone know how I could get to the previous dialog boxes?

Also, sometimes when running the program and closing the dialog boxes, a grey dialog box with the menu and toolbar from the project and a smaller white dialog box will pop up. How do I make sure it doesn't pop up?

Any help with either problem would be greatly appreciated.
 
 

Recent GIDBlogVista ?Widgets? on Windows XP by LocalTech

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
combox close on enter in vc++ dialog neo79 MS Visual C++ / MFC Forum 1 18-Aug-2006 09:06
Linker errors with multiple file progam nkhambal C Programming Language 2 24-Apr-2005 02:37
dialog based application hezyse MS Visual C++ / MFC Forum 1 20-Mar-2005 18:16
Help! Some basal questions about MFC xutingnjupt MS Visual C++ / MFC Forum 1 05-Dec-2004 03:38
controling dialog objects & multiple source files omills MS Visual C++ / MFC Forum 0 14-Jul-2004 23:30

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 18:57.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.