Guides & Tutorials (beta)

Keep Docking Panes from Drawing Over CommandBars

by Mike Palmatier Visual Basic 6 Created on 05/26/2008  |  Updated on 07/31/2024 0/5 ( 0 votes )

To keep the Docking Panes from drawing over top of the CommandBars you need to right-click on the docking pane control on your form and set "Send To Back" as in the picture below. The ComandBars object must be "in-front" of the DockingPane control:

Send To Back

Next, add the code below to tell the docking panes that command bars are being used. SetCommandBars sets a CommandBars object to be associate with this DockingPane object. When using both DockingPanes and CommandBars in the same form, the CommandBars must be associated with the DockingPane control. This is necessary for correct resizing and layout of controls on the form.

DockingPaneManager.SetCommandBars Me.CommandBars

User Comments

No comments yet, sign in to comment.

Secure Transactions

Online transactions are secure and protected.


Ssl seal 1
This site is protected by Trustwave's Trusted Commerce program
CompliAssure Secured

Money Back Guarantee

If you are not 100% happy with your purchase within 30 days, you can return it for any reason. Your satisfaction is our priority!


Satisfication Guarantee

Contact sales@codejock.com for more details.