Print Page | Close Window

Pairing up docking windows?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4879
Printed Date: 12 November 2025 at 9:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Pairing up docking windows?
Posted By: skemp@docucorp
Subject: Pairing up docking windows?
Date Posted: 24 August 2006 at 3:24pm
With luck, someone can offer feedback or a “best practice” on this?
 
First, the existing application we are changing uses splitters on many views to separate work items.  I have changed several of the more simple layouts to now use dockable windows instead of a split view.  This is nicer and the user can do all the dockable features.
 
Now we have to decide what to do on a more complex MDI Frame
 
Imaging a view that has 3 sections - divided vertically on the page.
Sections 1+2 are on a tab view. Section 3 is constant and the "main" view. Currently we have a splitter between the constant view (3) and the tabbed view containing sections 1+2. All of the splitters are sizeable.
If it helps, think of the three sections like this:
 
Tree view + Property View + Graphical depiction
The Tree view and Property Views are on a Tab together.
 
When you have the first tab active, you see 1A+2A+3, when you change the tab, you see, 1B+2B+3. Hopefully, you can visualize the idea. (If I could send a snapshot, this might be easier to understand).
 
So from this you can understand that sections 1+2 are a pair.
 
Right now I started coding trying to replicate what we already have, to some degree, but am having a few problems.

We envision making the "Tabs" dockable.  That way the user can keep them as Tabs or simply dock them side by side.
 
I've Created 2 docking panes  and am trying to write new CView classes that will make a CSplitterWnd and create the 2 views for each of the docking (Tab) panes. If you have some suggestions in this area, that might be helpful. Perhaps I’ve missed some class that would already give me this ability.
 
BUT, I can see how it might be nice if within the Tab view, the 1 and 2 section windows were also dockable, so the user could stack the windows vertically, or horizontally.
 
But we don't feel we can make all 4 windows independent because we need the 1A, 1B to stay visible together and the 2A, and 2B to be visible together. I hope that makes sense. Do you think this can be done with docking panes and keep the “pair” of associated windows visible at the same time?  Of would it be better to continue working on a split pane dockable window?
 
Also, I saw there was a CXTDockingPaneSplitterContainer but I’m having some problems defining it. Any examples that might use that class?



Replies:
Posted By: skemp@docucorp
Date Posted: 25 August 2006 at 4:28pm

I've made a lot of progress in simply replacing what we have with split-tab windows that we've created. But we're still interested to hear if there is a way to have docking windows paired together instead of simple split windows. And in that last paragraph of the original, it is supposed to say that 1A and 2A need to be visible together while 1B and 2B need to be visible together.



Posted By: Oleg
Date Posted: 25 August 2006 at 4:50pm
Hello,
With dockingpanes you can hide captions to make panes looks like splitters....


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: mailhaim
Date Posted: 12 February 2007 at 2:00pm
Hi Oleg,
I'm not sure I understand how hiding the caption gives the look and feel of a splitter... It may look like a splitter but when hiding one the other still visible !?
Actually I'm asking how can I have pane which is splitted to 2 different views?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net