Modeless dialog out of a Modal dialog box: possible?

Modeless dialog out of a Modal dialog box: possible?

Post by Lucas Mikisz » Sun, 30 Oct 1994 08:50:19



        Hi,

        I was just trying to figure out how to go about
        to have a *modeless* dialog box, appear from
        a *modal* dialog box....is it possible?

        My WinMain only creates a dialog using the DialogBox
        function. So there is NO message loop needed and therefor
        I can't use the IsDialogMessage function to control
        my modeless dialog....hmmmmm...

        Any ideas?

        Thanx.
        Lucas

 
 
 

Modeless dialog out of a Modal dialog box: possible?

Post by Rod Gilbe » Sun, 30 Oct 1994 08:43:33




>Subject: Modeless dialog out of a Modal dialog box: possible?
>Date: 28 Oct 1994 19:50:19 -0400
>        Hi,
>        I was just trying to figure out how to go about
>        to have a *modeless* dialog box, appear from
>        a *modal* dialog box....is it possible?

Sure, I have a dialog box that is model and I create
a multipage effect, (i.e. switching out a portion of
the dialog) by creating a modeless dialog box and
then adding it into the tab sequence.  Just remember
the modeless dialog is a child of the model dialog
so any window positioning is relative to the parent.
Quote:>        My WinMain only creates a dialog using the DialogBox
>        function. So there is NO message loop needed and therefor
>        I can't use the IsDialogMessage function to control
>        my modeless dialog....hmmmmm...
>        Any ideas?
>        Thanx.
>        Lucas


 
 
 

1. Calling a modeless dialog box from a modal dialog box

Hi,

Can a modal dialog box be the parent of a modeless dialog box?

I have a dialog box with 7 radio buttons.  Depending on which
button is selected, a different modeless dialog box is displayed.
The user will select a control on the modeless dialog box and then
both the modal and modeless dialog boxes should go away.

I am using VC++ and MFC.

Any help would be appreciated.

Cathy

2. Help with Using LDIF

3. Modal dialog as the parent of a modeless dialog...

4. selecting frames in moviemaker

5. Can we change the Modal Dialog to Modeless dialog ???

6. PGP6.5.3 keep signature

7. Modeless dialog inside modal dialog

8. Modal dialog doesn't disable modeless dialog when running InPlace.

9. Showing modeless dialog from modal dialog

10. REPOST: Modal dialog doesn't disable modeless dialog when running

11. Problem: Modal dialog box with modeless child

12. newbie problem with modal and modeless dialog box .