MFC Project Style "Visual Studio", but Single Document with multiple views
-
Hi all, I am starting to create a framework/IDE for special type of project files. The GUI like Visual Studio would be perfect for my needs and it can be easily created wih assistance from MFC Application Wizard (Options: "MFC" + "Multiple Documents" + "Doc/View Architecture" + "Visual Studio Project Style") But this solves only the "surface"...internally I need another structure...I have only one document, but I need to create a bunch of views for the document. In the "File Explorer" view there should be viewed the structure of the document and in the child view area there should be viewed all views (like the "Tabbed Documents"), related to the document. But I have absolutely no idea, how to solve this! Are the any examples, I could use as templates? Or are there any general ideas, how to solve? Many Thanks Richard
-
Hi all, I am starting to create a framework/IDE for special type of project files. The GUI like Visual Studio would be perfect for my needs and it can be easily created wih assistance from MFC Application Wizard (Options: "MFC" + "Multiple Documents" + "Doc/View Architecture" + "Visual Studio Project Style") But this solves only the "surface"...internally I need another structure...I have only one document, but I need to create a bunch of views for the document. In the "File Explorer" view there should be viewed the structure of the document and in the child view area there should be viewed all views (like the "Tabbed Documents"), related to the document. But I have absolutely no idea, how to solve this! Are the any examples, I could use as templates? Or are there any general ideas, how to solve? Many Thanks Richard
-
yes, you are right. I have overseen this! When I create a MDI application, I am able to create several views by default already. Actually my application should act like an SDI application. One document, on which I have several views. But when selecting SDI style in VS Project Wizard, I do not have this "tabbed document" style, which I would need. In the case I am using MDI style, my challenge is now, to manipulate the MDI behaviour, that it acts like SDI. A bit weird, but seems to be the fastest approach. If this approach is reasonable, I should create a new thread for it in the forum....
-
yes, you are right. I have overseen this! When I create a MDI application, I am able to create several views by default already. Actually my application should act like an SDI application. One document, on which I have several views. But when selecting SDI style in VS Project Wizard, I do not have this "tabbed document" style, which I would need. In the case I am using MDI style, my challenge is now, to manipulate the MDI behaviour, that it acts like SDI. A bit weird, but seems to be the fastest approach. If this approach is reasonable, I should create a new thread for it in the forum....