Docking Panes |
Post Reply |
Author | |
terrym
Senior Member Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
Posted: 06 January 2009 at 4:34am |
Hi
How can we dynamically hide/show docking panes from within our application please
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
Smucker
Senior Member Joined: 02 February 2008 Status: Offline Points: 156 |
Post Options
Thanks(0)
|
Here's the code I use to toggle panes by ID. This should be enough to get you what you need.
Note that most of the methods can also take a CXTPDockingPane*. void CMainFrame::TogglePane(int id) { if (m_paneManager.IsPaneClosed(id)) m_paneManager.ShowPane(id); else if (m_paneManager.IsPaneHidden(id)) m_paneManager.ToggleAutoHide(m_paneManager.FindPane(id)); else m_paneManager.ClosePane(id); } HidePane() is also available. |
|
Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)
Platform: Windows 200x/XP/Vista/Win7 (32/64 bit) Language: Visual C++ 9.0 (Studio 2008) |
|
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 |