CXTPDockingPane questions |
Post Reply |
Author | |
Irisz
Newbie Joined: 25 May 2004 Location: Israel Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 02 June 2004 at 9:13am |
Hi, I have 2 question regarding CXTPDockingPane: 1. Is there a way to remove the caption from a docking pane ? 2. Is there a way to prevent pane from floating ? |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
1.Yes
2.Yes |
|
Irisz
Newbie Joined: 25 May 2004 Location: Israel Status: Offline Points: 5 |
Post Options
Thanks(0)
|
1. How ??? 2. How ???
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
// Get a pointer to IDR_PANE1 and Remove Title.
CXTPDockingPane* pPane = GetDockingPaneManager()->FindPane(IDR_PANE1); ASSERT(pPane); if (pPane) { pPane->SetTitle(_T("")); } // Get a pointer to IDR_PANE2 and set the title and prevent it from floating. pPane = GetDockingPaneManager()->FindPane(IDR_PANE2); ASSERT(pPane); if (pPane) { pPane->SetTitle(_T("Pane 2 - Not Floatable\nPane 2")); pPane->SetOptions(xtpPaneNoFloatable); } |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
I knew you ask it :) for 8.70 only: 1. class CCustomTheme : public CXTPDockingPaneGripperedTheme } m_paneManager.SetCustomTheme(new CCustomTheme());
2. pPane->SetOptions(xtpPaneNoFloatable); ps. how user can float pane without caption?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |