Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Can DockingPane works with CommandBars in MDI form
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Can DockingPane works with CommandBars in MDI form

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


Joined: 05 October 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote mashixin Quote  Post ReplyReply Direct Link To This Post Topic: Can DockingPane works with CommandBars in MDI form
    Posted: 05 October 2006 at 1:13pm
It seems that DockingPane(Ver 10.3) can not work with CommandBars(Ver 10.3) in MDI, an error occured when close the MDI form.
 
You can reproduce this error follow below steps:
 
1, Create a new VB6 project.
2, Add a MDI form to project.
3, Add a DockingPane and a CommandBars on MDI, make sure that the DockingPane is set to back layer.
4, Set this project start with MDI form.
5, Press F5 to run.
6, Close MDI form.
 
Is this a BUG?
 
Regards,
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: 06 October 2006 at 12:29am
Hello,
 
You have to add in Form_Load
Set DockingPanes.CommandBars = CommandBars
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
mashixin View Drop Down
Newbie
Newbie


Joined: 05 October 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote mashixin Quote  Post ReplyReply Direct Link To This Post Posted: 06 October 2006 at 12:44am
It works OK now.
Thanks.
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.199 seconds.