
Modal dialog over a modal dialog ( How to...?)
Quote:
>I want to display a 2nd modal dialog over my modal dialog. I displayed the
>1st dialog with the DoModal() member function. I want to display a 2nd modal
>dialog when my user press a command button on this 1st dialog. But if I use
>the DoModal() with this 2nd dialog it will be _modeless_.
It shouldn't be - I've just tried what I think you're describing, and
the second dialog appears over the initial one and is modal (click on
the first dialog & it beeps).
What specifically are you doing?
Is something in your application confusing MFC? With the later
versions of MFC all dialogs are really modeless, but fake modality by
disabling the parent window.
Dave
----
Address is altered to discourage junk mail.
Remove ".---" for the real address.