views:

61

answers:

1

Hi,

Is it possible to open more dialog boxes at the same time in C++ MFC, when I press a button? How? (One for background: full-screen and semi-transparent, and one for a dialog box.)

Thank you!

+3  A: 

You could open the background one modally, and get it to open the foreground one. Handle the on close of the foreground one, and close the back ground one.

Preet Sangha
Actually, if the background window is just for background, they can be both modal, as long as the background window is the one that opens the foreground window.
djeidot
lol. that's actually what i meant.
Preet Sangha
I sense a disturbance in the force.
Vulcan Eager
Don't you mean a convergence?
Preet Sangha
How could I close both of them at the same time?
Tlmp
How can I get the bg one to open the foreground one?
Tlmp