Making modal dialog without bringing the whole application (with the dialog) to the background 
Author Message
 Making modal dialog without bringing the whole application (with the dialog) to the background

Hi,
I am making a modal dialog, but when I do ,the whole application  (together
with the newly dialog) goes to the background. How can I avoid it (I mean
remains everything (application + dialog) in the foreground), and why this
happen ?

Thank you



Sun, 09 Jul 2000 03:00:00 GMT  
 Making modal dialog without bringing the whole application (with the dialog) to the background

your ? is not very clear i.e. how you are implementing the dialog box
but if you are using CDialogBox then make sure you pass the parent window
handle.
shashi
MCSD

Quote:

>Hi,
>I am making a modal dialog, but when I do ,the whole application  (together
>with the newly dialog) goes to the background. How can I avoid it (I mean
>remains everything (application + dialog) in the foreground), and why this
>happen ?

>Thank you



Mon, 10 Jul 2000 03:00:00 GMT  
 Making modal dialog without bringing the whole application (with the dialog) to the background

Quote:
>I am making a modal dialog, but when I do ,the whole application  (together
>with the newly dialog) goes to the background. How can I avoid it (I mean
>remains everything (application + dialog) in the foreground), and why this
>happen ?

With a modal dialog, the parent window will normally appear "in the
background", however the dialog itself should be active. You've
possibly got the wrong styles for the dialog. Create a new dialog
using the dialog editor & compare the default styles with your own
dialog's.

Dave
----
Address is altered to discourage junk mail.
Remove ".---" for the real address.
http://www.bj.co.uk



Mon, 10 Jul 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Showing a modal dialog in a modal dialog application

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

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

4. Non MFC modal dialogs in an MFC application - Dialog Message problem

5. modal dialogs on top of modal dialogs...

6. modal dialog spawning a modal dialog

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

8. How to to make a Dialog stay open/alive (not making it modal)

9. making a modal dialog hidden?

10. made modal dialog go away

11. Modal Dialogs without Parent window handle

12. Modal dialog becomes modeless without any code !

 

 
Powered by phpBB® Forum Software