Print Page | Close Window

Is this possible?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=15107
Printed Date: 04 May 2024 at 1:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Is this possible?
Posted By: znakeeye
Subject: Is this possible?
Date Posted: 03 September 2009 at 3:36am

I'm using docking panes in an unusual way. Two panes are glued together, and their captions are shown/hidden depending on docking state. E.g. When floating, the caption is set to the top pane's title, and the panes' captions are hidden. This works, and I get the behavior I want.

However, when unpinning one of the glued panes (top pane has a visible caption, with buttons), I get undesired behavior. The panes are separated and then hidden. Sure, this is the behavior you get in Visual Studio, but they never use panes the way I do here.
 
Q: Is it possible to keep my two panes docked to each other when hidden? Thus, only one tab is shown at the side panel, and when hovered, my two panes are shown together.



Replies:
Posted By: znakeeye
Date Posted: 03 September 2009 at 3:44am
Best solution would of course be if I could "borrow" the splitter functionality and simply embed my two windows in one window. But I sense that cannot be done, right?
 
CSplitterWnd is a possible approach, but then you don't get the same resizing behavior as in the docking pane, if SPI_SETDRAGFULLWINDOWS is set.



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