Dialogs as MDI Childs
-
When I make a Dialog window (based on a resource) child of an MDI window, the caption bar appears inactive (grayed), however, my dialog is fully functional. Does anyone know how to make it look like an active window ? David
-
Is there no way at all, besides the CFormview class ????????? I'm not that big of a fan of the Document/View architecture... :confused:
The D in MDI stands for Document, so you have chosen the Doc/View architecture, whether you decide to use it or not. The CFormView class *is* the way you can get an MDI application based on dialog templates. Otherwise you'd have to do something funky, like create a new, dialog based project and hold a vector of pointers to your child dialog boxes in it. I doubt this is viable, but it's not Doc/View. Christian #include "std_disclaimer.h"
-
The D in MDI stands for Document, so you have chosen the Doc/View architecture, whether you decide to use it or not. The CFormView class *is* the way you can get an MDI application based on dialog templates. Otherwise you'd have to do something funky, like create a new, dialog based project and hold a vector of pointers to your child dialog boxes in it. I doubt this is viable, but it's not Doc/View. Christian #include "std_disclaimer.h"
-
Then could you tell me how to make it LOOK like a regular dialog... Without the minimize/maximize button and fixed size ?
The properties of the dialog template allow you to set if the border is resizing, and if there is a system menu/what is on it. Christian #include "std_disclaimer.h"