Modal dialogs fon't show after main dialog shuts down
-
Hi people, A small question. In a dialog-based app, why is it impossible to start up a new dialog after the main dialog closes? (i.e. right after the DoModal returns in the app's InitInstance handler) Even when you try to pop up a simple MessageBox it doesn't show. You can just hear the typical MessageBox 'Bling', but then the app shuts down. Can anyone explain why this is the case? And what I should do to achieve my goal: showing a 'saving, please wait' dialog after the users hits finish in my wizard. Thanks a lot for your help, ren
-
Hi people, A small question. In a dialog-based app, why is it impossible to start up a new dialog after the main dialog closes? (i.e. right after the DoModal returns in the app's InitInstance handler) Even when you try to pop up a simple MessageBox it doesn't show. You can just hear the typical MessageBox 'Bling', but then the app shuts down. Can anyone explain why this is the case? And what I should do to achieve my goal: showing a 'saving, please wait' dialog after the users hits finish in my wizard. Thanks a lot for your help, ren
This article explains what you are looking for :- http://www.codeproject.com/dialog/dlgboxtricks.asp Scroll down to the last tip titled - "Show MessageBox after main dialog is dismissed" The method described there works not only for msgboxes but also for further modal dialogs. Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
This article explains what you are looking for :- http://www.codeproject.com/dialog/dlgboxtricks.asp Scroll down to the last tip titled - "Show MessageBox after main dialog is dismissed" The method described there works not only for msgboxes but also for further modal dialogs. Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
Perfect. Thanks a lot.