Print Page | Close Window

How to create dockingPane with different style

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=8928
Printed Date: 12 December 2024 at 2:44pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to create dockingPane with different style
Posted By: Windtech
Subject: How to create dockingPane with different style
Date Posted: 27 November 2007 at 11:47pm
Hi,
 
I want to create paneA with default style, and paneB with 'xtpPaneNoCaption' style.
Is it possiable?
 
   CXTPDockingPane* pwndPaneA = m_paneManager.CreatePane(
      IDR_PANE_DATABASE , CRect(0, 0,300, 120), xtpPaneDockLeft);
 
   m_paneManager.SetDefaultPaneOptions(xtpPaneNoFloatable   |  xtpPaneNoCaption | xtpPaneNoDockable);
 
CXTPDockingPane* pwndPaneB = m_paneManager.CreatePane(
  IDR_PANE_NAVBAR, CRect(0, 0,200, 120), xtpPaneDockLeft); 
 
SetDefaultPaneOptions() method effecte all panes behavior.
 
 
 
 
 
 
 



Replies:
Posted By: Oleg
Date Posted: 28 November 2007 at 1:10am
Yes. Don't set xtpPaneNoCaption  as default option.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Windtech
Date Posted: 28 November 2007 at 2:46am

thanks! Oleg

Got info from comments
 
// See Also: GetDefaultPaneOptions, CXTPDockingPane::SetOptions, XTPDockingPaneOptions
 
Great job!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net