Print Page | Close Window

Docking Pane Moves Toolbars

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=2374
Printed Date: 07 January 2025 at 10:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Docking Pane Moves Toolbars
Posted By: beatle
Subject: Docking Pane Moves Toolbars
Date 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-

ftp://latte.com/CJDocking.gif -

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

 




Replies:
Posted By: SuperMario
Date 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?



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