Click to See Complete Forum and Search --> : Checking modal state of dialogs


yacine
09-04-2000, 11:36 AM
I have a modal dialog that can be called either by a frame window or by an
other dialog(modal or not).
Is there a Win function(or an MFC one) to check if the window that called
the modal dialog is itself a modal dialog.
I already tried CWnd::ContinueModal(). But it returns the same value for
both modal and modeless dialogs.

Thank you.