Print Page | Close Window

How to remove a Docking Pane border

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=23503
Printed Date: 18 April 2024 at 1:06pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to remove a Docking Pane border
Posted By: rina2,lee
Subject: How to remove a Docking Pane border
Date Posted: 27 November 2017 at 4:20am


I tried to remove a border of DockingPane. (I colored it as red).
there is a no option to remove a border...

//////////////////////////////////////////////////////////////////////////////
....
m_paneManager.InstallDockingPanes(this, false);
m_paneManager.LockSplitters(TRUE);
m_paneManager.ModifyStyle(WS_CAPTION,0); m_paneManager.SetDefaultPaneOptions(xtpPaneNoHideable|xtpPaneNoHoverShow);

CXTPDockingPane* pPaneTab = m_paneManager.CreatePane(IDR_PANE_TAB, XTP_DPI(CRect(0, 0,1636, 36)), xtpPaneDockTop,0);
pPaneTab->SetOptions(xtpPaneNoFloatable|xtpPaneNoCaption|xtpPaneNoDockable);

CXTPDockingPane* pPaneExplorer = m_paneManager.CreatePane(IDR_PANE_EXPLORER, XTP_DPI(CRect(0, 0,280, 120)), xtpPaneDockRight, 0);
pPaneExplorer->SetOptions(xtpPaneNoFloatable|xtpPaneNoCaption|xtpPaneNoDockable);

CXTPDockingPane* pPaneHistory = m_paneManager.CreatePane(IDR_PANE_LIST, XTP_DPI(CRect(0, 0,280, 30)), xtpPaneDockBottom, pPaneExplorer);
pPaneHistory->SetOptions(xtpPaneNoFloatable|xtpPaneNoCaption|xtpPaneNoDockable);
...
}
/////////////////////////////////////////////////////////////////////////////



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