Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Docking Pane Moves Toolbars
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Docking Pane Moves Toolbars

 Post Reply Post Reply
Author
Message Reverse Sort Order
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Topic: Docking Pane Moves Toolbars
    Posted: 15 June 2005 at 9:17am
Maybe your order of creation is wrong or you add them in the wrong place.  In your OnCreate method you must first create the Status bar, then all control bars including the Status Bar must be created before CommandBars.  Then you add the Docking Panes.  Where do you add the panes?
Back to Top
beatle View Drop Down
Newbie
Newbie


Joined: 26 May 2005
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote beatle Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2005 at 8:27pm

In my MDI app's frame class I add the pane as follows:

CXTPDockingPane* pwndPane1 = m_pPaneManager->CreatePane(m_NextPaneID, CRect(0, 0, 200, 120), xtpPaneDockLeft);

However, the docked window displaces the toolbar and status bar-

I would prefer that the client area rect stay the same with the pane upper left corner under the toolbar. Any ideas?

 

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.094 seconds.