Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Tab control within a splitter pane

Posted on 1997-10-22
4
Medium Priority
?
464 Views
Last Modified: 2013-11-20
I have created a dialog based app that uses a frame window to display a list and a tree control (using a splitter window). I need to modify the tree control pane (a CTreeView) so that it displays a set of tabs at the bottom, allowing the user to toggle between the tree and a list control. Do I create a CTabCtrl derived class and add the tree, or place the tree and tab controls inside a CCtrlView?
0
Comment
Question by:JamieR
[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 8

Expert Comment

by:gelbert
ID: 1308610
You can use CFormView instead of CTreeView in splitter window pane. Then you have to place on the dialog template Tab control and Tree control(s).You can place as many as you want CTreeCtrls then show/hide them when user swith tabs.
0
 
LVL 1

Author Comment

by:JamieR
ID: 1308611
Sorry, I may not have been descriptive enough....

I need to keep the (dynamic) splitter pane to separate the treeview from the listview. It is purely the treeview pane that I wish to use to display different types of information, based on the tab selection.

Essentially, what I need is something very similar to the Workspace window in DevStudio (except without the dockability).


0
 
LVL 8

Accepted Solution

by:
gelbert earned 300 total points
ID: 1308612
May be I just do not understand exactly what you want. But it sounds to me that you want window with splitter bar and listview in one pane and tree view in the other pane plus tabs at the bottom of treeview pane. Fine. My suggestion gives you exactly what you want. There only trade of is that you always have to make sure that window of CTreeCtrl is has width of pane window and height of pane window minus size of tabs.
0
 
LVL 1

Author Comment

by:JamieR
ID: 1308613
Of couse! Thanks, Gelbert.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

636 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