|
-
February 10th, 2012, 08:40 AM
#1
CTabbedView Composition
Good afternoon,
Im experimenting with 2008 feature pack.
Basically I want to use a CTabbedView but within some of the tabs I want multiple views with splitters. Now it seems can only add a single CView derivative to each tab.
Im just thinking in terms of the composite pattern?
Thanks in advance
-
March 27th, 2012, 05:02 PM
#2
Re: CTabbedView Composition
I just found your post.
It is possible to create different views for each tab, representing frame/view/document.
The easiest way is to register 2 (or more) document template and in one create splitter.
Another way would be to create one document template and handle view(s) and splitter creation based on some flag.
I would suggest searching this forum for one document multiple views or view swapping to see how that can be done.
There are many samples around (including mine).
There are only 10 types of people in the world:
Those who understand binary and those who do not.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|