MDI or SDI. How do I connect View with a resource formview.
-
Hello, I do not want to use an MDI app to create new documents of the same kind, like in text processors. Instead I want to be able to open different child windows from the menu. The menu handling is clear. When I go and create a new form with controls in the resources/dialog editor, how can I connect them to what I see in the client area of the child ? The classic kind of business software, you know. A user can open a customer window, then a payment window, a child for envoices, for banking, statics and so on. Normal dialog windows do not fill the client area, they are on top of all. That is not what I am going for. Thank You.
-
Hello, I do not want to use an MDI app to create new documents of the same kind, like in text processors. Instead I want to be able to open different child windows from the menu. The menu handling is clear. When I go and create a new form with controls in the resources/dialog editor, how can I connect them to what I see in the client area of the child ? The classic kind of business software, you know. A user can open a customer window, then a payment window, a child for envoices, for banking, statics and so on. Normal dialog windows do not fill the client area, they are on top of all. That is not what I am going for. Thank You.
Did you try something from [mdi one document multiple views - Google Search](https://www.google.com/search?q=mdi+one+document+multiple+views&oq=mdi+one+document+multiple+views&aqs=chrome..69i57.19258j0j7&sourceid=chrome&ie=UTF-8)
-
Did you try something from [mdi one document multiple views - Google Search](https://www.google.com/search?q=mdi+one+document+multiple+views&oq=mdi+one+document+multiple+views&aqs=chrome..69i57.19258j0j7&sourceid=chrome&ie=UTF-8)
Hallo Victor, yes I just did. That issue is different. Mine is about connecting the window resource to the canvas of the app. That one from the painter, where all controls are placed. Thank You
-
Hallo Victor, yes I just did. That issue is different. Mine is about connecting the window resource to the canvas of the app. That one from the painter, where all controls are placed. Thank You
Member 11883602 wrote:
That issue is different. Mine is about connecting the window resource to the canvas of the app. That one from the painter, where all controls are placed.
And how would it differ from what CMultiDocTemplate represets?
-
Member 11883602 wrote:
That issue is different. Mine is about connecting the window resource to the canvas of the app. That one from the painter, where all controls are placed.
And how would it differ from what CMultiDocTemplate represets?
Hello. I got it now. To occupy an SDI/MDI with a formview resource template there is one detail in the project assistant. At the last page one can fill in from what the view derives. The preset is CView, but you must change it to CFormView. That was all. Well, I would have liked to make it an existing project, but this is ok, too. Thank You.
-
Hello. I got it now. To occupy an SDI/MDI with a formview resource template there is one detail in the project assistant. At the last page one can fill in from what the view derives. The preset is CView, but you must change it to CFormView. That was all. Well, I would have liked to make it an existing project, but this is ok, too. Thank You.
You are welcome!
-
You are welcome!
:)