Print Page | Close Window

MDI Form DockingPane and CommandBars Compatibility

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=6116
Printed Date: 17 November 2024 at 3:52am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: MDI Form DockingPane and CommandBars Compatibility
Posted By: yemo
Subject: MDI Form DockingPane and CommandBars Compatibility
Date Posted: 14 January 2007 at 3:24pm
Greetings,

Just wondered if the latest version fixed a compatibility issue with using both a Commandbar and DockingPane control on a VB6 MDi form. When this is done, only the dockingpane control is visible.

NB I can upload a sample project for you to test this. I just took the CommandBar sample and the DockingPane sample and merged the two VB6 projects.



Replies:
Posted By: Oleg
Date Posted: 15 January 2007 at 1:06am
Hi,
See samples from Common folder. GUISample for example.
 
You have to add
DockingPaneManager.SetCommandBars Me.CommandBars
code string.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: yemo
Date Posted: 15 January 2007 at 6:24am
That's great! Thanks!


Posted By: yemo
Date Posted: 30 January 2007 at 5:15pm
Oleg,

One further question relating to this. Is there a way of ensuring that the panels do not dock ABOVE the command bars and/or dock below any statusbars on an MDI pareent form? The function DockingPaneManager_GetClientRect doesnt seem to affect the window placement.


Posted By: Oleg
Date Posted: 31 January 2007 at 1:23am
Hi,
If you see DockingPanes above CommandBars, in designer right click on DockingPane and choose send to back.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: yemo
Date Posted: 31 January 2007 at 4:20am
Thanks. That works.



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