>Subject: Calling a modeless dialog box from a modal dialog box
>Date: 10 Nov 1994 11:11:51 -0600
>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.
It seems to me that by the definition of Modal, you could find a way to do
this, but your modeless' wouldn't be able to do anything, since the Modal
would be in control until closed, and all others would be disabled. I think
your other dialogs would need to be modal, and the calling one modeless, to
allow the calling one to give over control to one of the others, which could
then close the calling one as part of its own closing.
Of course, there are many others here who know more tricks than I, and might
know how to bypass the Modal behaviour, but this is my understanding of it all.
Bill.