Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - How to create dockingPane with different style
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to create dockingPane with different style

 Post Reply Post Reply
Author
Message
Windtech View Drop Down
Newbie
Newbie


Joined: 20 November 2007
Location: China
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Windtech Quote  Post ReplyReply Direct Link To This Post Topic: How to create dockingPane with different style
    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.
 
 
 
 
 
 
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 28 November 2007 at 1:10am
Yes. Don't set xtpPaneNoCaption  as default option.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Windtech View Drop Down
Newbie
Newbie


Joined: 20 November 2007
Location: China
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Windtech Quote  Post ReplyReply Direct Link To This Post Posted: 28 November 2007 at 2:46am

thanks! Oleg

Got info from comments
 
// See Also: GetDefaultPaneOptions, CXTPDockingPane::SetOptions, XTPDockingPaneOptions
 
Great job!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.