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 20-Mar-2005, 01:10
hezyse hezyse is offline
New Member
 
Join Date: Mar 2005
Posts: 1
hezyse is on a distinguished road

dialog based application


Hello,
this is my first MFC program.
I used dialog based application. the main dialog is a login dialog and radio buutons so you can choose the new dialog to be open.My idea was to open the relevant dialog after the login dialog is closed. unfortunately when I'm using m_dlg.DoModal(), nothing happens.
thanks in advanced
Hezy Sela
  #2  
Old 20-Mar-2005, 19:16
Max Payne's Avatar
Max Payne Max Payne is offline
Regular Member
 
Join Date: Apr 2004
Location: 3° 08 North 101° 42 East
Posts: 332
Max Payne is a jewel in the roughMax Payne is a jewel in the roughMax Payne is a jewel in the rough
my suggestion is to use the login dialog as the child dialog and any other dialog as the main dialog,

why? be cause your login dialog only shows in the beginning, and then closes, so using the login dialog as the main is not a good design..
__________________
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
 
 

Recent GIDBlogToyota - 2008 November Promotion by Nihal

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
Help! Some basal questions about MFC xutingnjupt MS Visual C++ / MFC Forum 1 05-Dec-2004 04:38
Dialog based application Frandy MS Visual C++ / MFC Forum 3 04-Oct-2004 00:55
Dialog based application : updating Frandy MS Visual C++ / MFC Forum 1 27-Sep-2004 08:48
daialog based application MFC Pandiani MS Visual C++ / MFC Forum 2 01-Aug-2004 11:45
controling dialog objects & multiple source files omills MS Visual C++ / MFC Forum 0 15-Jul-2004 00:30

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

All times are GMT -6. The time now is 07:31.


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