Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - How to remove a Docking Pane border
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to remove a Docking Pane border

 Post Reply Post Reply
Author
Message
rina2,lee View Drop Down
Newbie
Newbie


Joined: 27 November 2017
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote rina2,lee Quote  Post ReplyReply Direct Link To This Post Topic: How to remove a Docking Pane border
    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);
...
}
/////////////////////////////////////////////////////////////////////////////
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.094 seconds.