Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - MDI Form DockingPane and CommandBars Compatibility
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MDI Form DockingPane and CommandBars Compatibility

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


Joined: 22 November 2005
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote yemo Quote  Post ReplyReply Direct Link To This Post Topic: MDI Form DockingPane and CommandBars Compatibility
    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.
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: 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
Back to Top
yemo View Drop Down
Newbie
Newbie


Joined: 22 November 2005
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote yemo Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2007 at 6:24am
That's great! Thanks!
Back to Top
yemo View Drop Down
Newbie
Newbie


Joined: 22 November 2005
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote yemo Quote  Post ReplyReply Direct Link To This Post 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.
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: 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
Back to Top
yemo View Drop Down
Newbie
Newbie


Joined: 22 November 2005
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote yemo Quote  Post ReplyReply Direct Link To This Post Posted: 31 January 2007 at 4:20am
Thanks. That works.
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.172 seconds.