|  | 
| CXTPDockingPane questions | 
| Post Reply   | 
| Author | |
| Irisz   Newbie   Joined: 25 May 2004 Location: Israel Status: Offline Points: 5 |  Post Options  Thanks(0)  Quote  Reply  Topic: CXTPDockingPane questions 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   Senior Member     Joined: 14 February 2004 Status: Offline Points: 18057 |  Post Options  Thanks(0)  Quote  Reply  Posted: 02 June 2004 at 1:44pm | 
| 
   1.Yes 2.Yes | |
|  | |
| Irisz   Newbie   Joined: 25 May 2004 Location: Israel Status: Offline Points: 5 |  Post Options  Thanks(0)  Quote  Reply  Posted: 03 June 2004 at 1:49am | 
| 1. How ??? 2. How ??? 
 | |
|  | |
| SuperMario   Senior Member     Joined: 14 February 2004 Status: Offline Points: 18057 |  Post Options  Thanks(0)  Quote  Reply  Posted: 03 June 2004 at 7:43am | 
| 
       // 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   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 03 June 2004 at 7:50am | 
| 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 |