Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Commandbar ribbons with Taskpanel
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Commandbar ribbons with Taskpanel

 Post Reply Post Reply
Author
Message
wakerunner View Drop Down
Groupie
Groupie


Joined: 29 September 2007
Status: Offline
Points: 85
Post Options Post Options   Thanks (0) Thanks(0)   Quote wakerunner Quote  Post ReplyReply Direct Link To This Post Topic: Commandbar ribbons with Taskpanel
    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
Back to Top
wakerunner View Drop Down
Groupie
Groupie


Joined: 29 September 2007
Status: Offline
Points: 85
Post Options Post Options   Thanks (0) Thanks(0)   Quote wakerunner Quote  Post ReplyReply Direct Link To This Post 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?
 
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: 01 November 2007 at 3:00pm

Hello,

No, there is no way.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.063 seconds.