Print Page | Close Window

Commandbar ribbons with Taskpanel

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=8632
Printed Date: 17 June 2025 at 8:32pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Commandbar ribbons with Taskpanel
Posted By: wakerunner
Subject: Commandbar ribbons with Taskpanel
Date Posted: 01 November 2007 at 12:21am
When you use the taskpanel with VB's standard menu's and toolbars it behaves perfectly, resizes to the right size and doesn't cover the menu's up. I tried to use it with commandbar ribbons on a MDI parent form and it covers the entire form including the control box.
 
I tried attaching it to a dialogbar in commandbars with the code below and it contains it correctly until you click on one of the groups in the taskpanel then it resizes back to the entire height of the form, covering the ribbon and control box of the form.
 
Is there a way of making it stay in the right place or do you have to manually size it in Form_Resize? Note this is on a MDI parent form and I have the Taskpanel align set to "alignright"
 
 
Dim DialogBar As DialogBar
    Set DialogBar = CommandBars.AddDialogBar("Actions", xtpBarRight)
    DialogBar.ChildHandle = Task1.hWnd



Replies:
Posted By: wakerunner
Date Posted: 01 November 2007 at 2:54pm
I found a way to get the taskpanel to behave, I put it in another non mdi form and then set  "dialogbar.childhandle = form with panel.hwnd"
 
 
I have another question. Is there a way to make the dialogbar height fill in where the ribbonbar is when that part of the ribbon bar is not being used?  In the picture below is there a way to make the "Actions" dialog bar go to right under the about button?
 


Posted By: Oleg
Date Posted: 01 November 2007 at 3:00pm

Hello,

No, there is no way.


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



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