Is this possible? |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
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.
|
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
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.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |