![]() |
Commandbar ribbons with Taskpanel |
Post Reply ![]() |
Author | |
wakerunner ![]() Groupie ![]() Joined: 29 September 2007 Status: Offline Points: 85 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
wakerunner ![]() Groupie ![]() Joined: 29 September 2007 Status: Offline Points: 85 |
![]() ![]() ![]() ![]() ![]() |
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?
![]() |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello, No, there is no way.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |