ShowPane undocked |
Post Reply |
Author | |
TerryT
Newbie Joined: 31 August 2006 Status: Offline Points: 12 |
Post Options
Thanks(0)
Posted: 27 September 2006 at 11:54pm |
I've not been able to find a solution to the following:
In the following method, how do I get the ShowPane() to show the pane in an undocked state (pin horizontal)?
void CMainFrame::togglePane(UINT nPaneID)
{ CXTPDockingPane* pPane = m_paneManager.FindPane(nPaneID); if(pPane) { if(pPane->IsClosed()) m_paneManager.ShowPane(pPane); else m_paneManager.ClosePane(pPane); } } |
|
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
|
Hello,
try a call to CXTPDockingPaneManager::ToggleDocking() immediately after showing the pane (if the pane is not IsFloating() already). Or did you mean something else with undocking? |
|
TerryT
Newbie Joined: 31 August 2006 Status: Offline Points: 12 |
Post Options
Thanks(0)
|
Thanks for pointing me in the right direction - sometimes can't see the forest for the trees... The following solution seems to work well enough
|
|
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 |