[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

multiple docs in a splitter window

Posted on 1998-10-16
4
Medium Priority
?
220 Views
Last Modified: 2013-11-20
I want something like a splitter window, but that has a
doc/view in the left pane, and one of several doc/view
combinations in the right pane.

Basically, I'm going to have a tree control on the left.
Depending on what is selected and a menu choice, there will
be distinctly different data sets on the right.  I would
like to be able to have a separate document for each.  Each
doc then would also have its own corresponding view.

I have an SDI app that has one document, a left view, and
multiple right views that can be swapped around.  My problem
is that I'm not sure how to have multiple docs.  Thanks!
0
Comment
Question by:eric_m
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
psdavis earned 200 total points
ID: 1323434
To have multiple documents inside of only one frame, you can override the CMultiDocTemplate and see how they add the first document.  Then you will want to add multiple documents in the same fashion.  You will probably need to switch to a MDI instead.

Also look out at www.codeguru.com and see what they have concerning multiple documents.  There are a few articles on it.

Good luck, this is a very Non-trivial problem and has been a large task of mine as well.

Phillip
0
 

Author Comment

by:eric_m
ID: 1323435
Thanks!
0
 

Author Comment

by:eric_m
ID: 1323436
> Good luck, this is a very Non-trivial problem and has been a
> large task of mine as well.

I've decided to stick with the SDI interface.  I only want
one document frame.  Since I can't easily have multiple
docs, I've turned my one doc into a state machine ala GOF's
state pattern so that it behaves like I'm using multiple
docs.

I've got my proof-of-concept app up and running now.  It's a
breeze.  I'd still be playing around with overriding
document templates if I had gone the MDI route.  :)

Again, thanks for your help, Phillip!

0
 
LVL 7

Expert Comment

by:psdavis
ID: 1323437
Good for you!  You're right about still overriding the MDI templates, it's been a pain for us (but has produced some incredible results!)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question