Click here to Skip to main content
15,917,611 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: virtual function crash Pin
Mike Nordell1-May-02 9:15
Mike Nordell1-May-02 9:15 
QuestionLayered child windows? Pin
Eugene Polonsky29-Apr-02 12:44
Eugene Polonsky29-Apr-02 12:44 
AnswerRe: Layered child windows? Pin
Mike Nordell29-Apr-02 13:08
Mike Nordell29-Apr-02 13:08 
GeneralRe: Layered child windows? Pin
Shog929-Apr-02 13:26
sitebuilderShog929-Apr-02 13:26 
AnswerRe: Layered child windows? Pin
Shog929-Apr-02 13:21
sitebuilderShog929-Apr-02 13:21 
Generaltwo dialogs Pin
tordyvel29-Apr-02 12:43
tordyvel29-Apr-02 12:43 
GeneralRe: two dialogs Pin
Shog929-Apr-02 13:36
sitebuilderShog929-Apr-02 13:36 
GeneralRe: two dialogs Pin
Nish Nishant29-Apr-02 14:12
sitebuilderNish Nishant29-Apr-02 14:12 
Shog9 wrote:
In your program's InitInstance(), after the first dialog has closed, create and show a new dialog.

This may have problems in dialog based apps. Because by defauly the main window is the first dialog. When you close it, it gets destroyed and MFC sorta takes this to mean that the main app has closed.

Nish


Check out last week's Code Project posting stats presentation from :-
http://www.busterboy.org/codeproject/
Feel free to make your comments.

GeneralRe: two dialogs Pin
Shog929-Apr-02 15:15
sitebuilderShog929-Apr-02 15:15 
GeneralRe: two dialogs Pin
Nish Nishant29-Apr-02 15:20
sitebuilderNish Nishant29-Apr-02 15:20 
GeneralRe: two dialogs Pin
Shog929-Apr-02 15:01
sitebuilderShog929-Apr-02 15:01 
GeneralRe: two dialogs Pin
Nish Nishant29-Apr-02 15:20
sitebuilderNish Nishant29-Apr-02 15:20 
GeneralHidden dialog Pin
29-Apr-02 12:43
suss29-Apr-02 12:43 
GeneralRe: Hidden dialog Pin
Nish Nishant29-Apr-02 14:13
sitebuilderNish Nishant29-Apr-02 14:13 
GeneralRe: Hidden dialog Pin
Sameer Maggon29-Apr-02 19:21
Sameer Maggon29-Apr-02 19:21 
GeneralRe: Hidden dialog Pin
Gaurika Wijeratne29-Apr-02 20:05
Gaurika Wijeratne29-Apr-02 20:05 
GeneralI need help with file select. Pin
Strife Fox29-Apr-02 11:53
Strife Fox29-Apr-02 11:53 
GeneralRe: I need help with file select. Pin
Ravi Bhavnani29-Apr-02 12:27
professionalRavi Bhavnani29-Apr-02 12:27 
GeneralCloseHandle Pin
Peter Liddle29-Apr-02 10:12
Peter Liddle29-Apr-02 10:12 
GeneralRe: CloseHandle Pin
Le centriste29-Apr-02 10:37
Le centriste29-Apr-02 10:37 
GeneralRe: CloseHandle Pin
Nish Nishant29-Apr-02 14:14
sitebuilderNish Nishant29-Apr-02 14:14 
GeneralRe: CloseHandle Pin
Peter Liddle29-Apr-02 21:54
Peter Liddle29-Apr-02 21:54 
GeneralSHFileOperation and win2000 Pin
jafrazee29-Apr-02 9:42
jafrazee29-Apr-02 9:42 
GeneralRe: SHFileOperation and win2000 [corrected] Pin
Joaquín M López Muñoz29-Apr-02 9:51
Joaquín M López Muñoz29-Apr-02 9:51 
GeneralRe: SHFileOperation and win2000 Pin
Nish Nishant29-Apr-02 14:15
sitebuilderNish Nishant29-Apr-02 14:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.