New Document MDI
-
:( Hi! I was wondering if you can override the default functionality for OnFileNew and OnFileOpen to have your document's view open in only one child window as it happens in an SDI application. More clarification: When we create an MDI application we get a child frame window which gets the view inside it. If we have to say FIle New then I would like to replace the existing view in the same child window with the new one. Yeah an interesting quesion is why am i going into all the troubles of MDI when this is the functionality of an SDI application, but actually I have another document template also within this application. Can somebody help me out with this. thanks rahul
-
:( Hi! I was wondering if you can override the default functionality for OnFileNew and OnFileOpen to have your document's view open in only one child window as it happens in an SDI application. More clarification: When we create an MDI application we get a child frame window which gets the view inside it. If we have to say FIle New then I would like to replace the existing view in the same child window with the new one. Yeah an interesting quesion is why am i going into all the troubles of MDI when this is the functionality of an SDI application, but actually I have another document template also within this application. Can somebody help me out with this. thanks rahul
I am sure I have seen articles on this either here or on CodeGuru. Have you had a good look around the Doc/View articles? It really shouldn't be difficult. You can overide OnFileNew etc. and do whatever you want with docs and views. Neville Franks, Author of ED for Windows. www.getsoft.com Make money with our new Affilate program