modal dialogs on top of modal dialogs... 
Author Message
 modal dialogs on top of modal dialogs...

Hi there,

I have 2 dialogs.  When i start my application I want dialog 1 to be
displayed but immediately
want dialog 2 to be display over the 1st dialog.  I want both dialogs as
modal, but I can't find
an appropriate event to use to do the DoModal on the 2nd dialog to show the
2nd dialog after the
1st dialog has been displayed.

Has anyone got any ideas for this??

Cheers
Mike

----------------------------------------------------------------------------
------------------------
Mike Kennedy
Senior Programmer,
HighWater Designs LTD, Alstone Lane, Cheltenham, Gloucestershire.
+44 (0)1242 542157



Sat, 27 Apr 2002 03:00:00 GMT  
 modal dialogs on top of modal dialogs...
You can post yourself a message from the first dialog's OnInitDialog
and in the handler for that message, you can create the second one.

Quote:

>Hi there,

>I have 2 dialogs.  When i start my application I want dialog 1 to be
>displayed but immediately
>want dialog 2 to be display over the 1st dialog.  I want both dialogs as
>modal, but I can't find
>an appropriate event to use to do the DoModal on the 2nd dialog to show the
>2nd dialog after the
>1st dialog has been displayed.

>Has anyone got any ideas for this??

>Cheers
>Mike

>----------------------------------------------------------------------------
>------------------------
>Mike Kennedy
>Senior Programmer,
>HighWater Designs LTD, Alstone Lane, Cheltenham, Gloucestershire.
>+44 (0)1242 542157


--
Girish Bharadwaj [mvp]


Sat, 27 Apr 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Showing a modal dialog in a modal dialog application

2. modal dialog spawning a modal dialog

3. Modal dialog over a modal dialog ( How to...?)

4. Modeless dialog on top of Modal dialog

5. creating Modal vs. Non-Modal dialogs

6. modal dialog not modal?

7. Modal dialog not acting modal

8. modal dialog to modal less

9. Executing modal tabbed dialog from a dialog-based application

10. Modeless dialog called from Modal dialog woes.

11. Modeless Dialog box in a Modal Dialog Application...

12. Modeless dialog box together with modal dialog box

 

 
Powered by phpBB® Forum Software