Fletch27278
October 9th, 2001, 11:16 PM
I have a great deal of experience using Visual C++, and this is my first dealing with complex Visual Basic app.
I have a MDI multiple form application that I set up. What I want is to have a MDI Form Mainframe with buttons and then have a document form be maximized in the mainframe. I was going to modify the code so that the application behaved as a SDI, because I really only want one document form open at one time. I choose the MDI application because I wanted all of the documents extra forms to show up with in the Mainframe and always on top of the document form. Crazy?
Questions:
1. Is the MDI application the correct project for this UI? Is this UI possible?
2. I am assuming that the Mainframe should be an MDI form, and that the document should not be. Is this correct? If not, then what should the document be? MDI Child? And what about all of the other forms, how should they be set up?
3. Currently, I am fairly close to accomplishing this, but my problem is whenever I try to address the form Document in code, a new instance of document is created. I think if I could address the current document, then my code would work. Any hints on how to address the active doc form?
TIA,
Scott
C++ Software Engineer
aka: Fletch
Hillsborough, NC
I have a MDI multiple form application that I set up. What I want is to have a MDI Form Mainframe with buttons and then have a document form be maximized in the mainframe. I was going to modify the code so that the application behaved as a SDI, because I really only want one document form open at one time. I choose the MDI application because I wanted all of the documents extra forms to show up with in the Mainframe and always on top of the document form. Crazy?
Questions:
1. Is the MDI application the correct project for this UI? Is this UI possible?
2. I am assuming that the Mainframe should be an MDI form, and that the document should not be. Is this correct? If not, then what should the document be? MDI Child? And what about all of the other forms, how should they be set up?
3. Currently, I am fairly close to accomplishing this, but my problem is whenever I try to address the form Document in code, a new instance of document is created. I think if I could address the current document, then my code would work. Any hints on how to address the active doc form?
TIA,
Scott
C++ Software Engineer
aka: Fletch
Hillsborough, NC