Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Control bar problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Control bar problem

 Post Reply Post Reply
Author
Message
oyalhi View Drop Down
Newbie
Newbie
Avatar

Joined: 27 January 2005
Location: Turkey
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote oyalhi Quote  Post ReplyReply Direct Link To This Post Topic: Control bar problem
    Posted: 28 July 2005 at 9:09am

I have a dockable window and a controlbar (menu) in my app.  The dockable window is docked to the left most side as it should.  However, the menu bar on top starts right after the dockable window.  The menu bar does not start from the very top left and go to the far right.  It is at the very top but the left side starts after the dockable window.  What could be causing this, any ideas?

Regards, Omer

Back to Top
oyalhi View Drop Down
Newbie
Newbie
Avatar

Joined: 27 January 2005
Location: Turkey
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote oyalhi Quote  Post ReplyReply Direct Link To This Post Posted: 28 July 2005 at 9:11am

This is the code for docking the windows:

  DockingPaneManager.SetCommandBars Me.CommandBars
 
  Set g_panCustomer = DockingPaneManager.CreatePane(ID_PANE_CUSTOMER, 150, 150, DockLeftOf, Nothing)
  g_panCustomer.Title = "Aboneler"
 
  Set g_panLog = DockingPaneManager.CreatePane(ID_PANE_LOG, 150, 150, DockBottomOf, Nothing)
  g_panLog.Title = "Mesajlar"

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 28 July 2005 at 9:12am
Add this before panes are created:
DockingPaneManager.SetCommandBars Me.CommandBars

Then on you form, right-click on the DockingPane Control and select "Send-To-Back"


Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 28 July 2005 at 9:16am
Opps, didn't see you posted code.  Just make sure  DockingPaneManager.SetCommandBars Me.CommandBars
is used before you create any panes  And the Z-Order info from above.
Back to Top
oyalhi View Drop Down
Newbie
Newbie
Avatar

Joined: 27 January 2005
Location: Turkey
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote oyalhi Quote  Post ReplyReply Direct Link To This Post Posted: 28 July 2005 at 9:23am

Send to back did the trick.  I would have never guessed in one million years. 

Thanks SuperMario.

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.188 seconds.