Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Using toolbars with Codejock controls
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Using toolbars with Codejock controls

 Post Reply Post Reply
Author
Message
Geraint P View Drop Down
Newbie
Newbie


Joined: 13 September 2004
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote Geraint P Quote  Post ReplyReply Direct Link To This Post Topic: Using toolbars with Codejock controls
    Posted: 25 November 2004 at 9:24am

Hi there. We have an MDI form which has the following;

  1. A commandbar object at the top which holds the menu commands.
  2. A standard toolbar (i.e. not a commandbar) beneath this.
  3. A docking pane (docked to the left of the screen) beneath this.

Our problem is that we would like the toolbar to align correctly to the left of the screen; underneath the commandbar menu, but above the docking pane. At the moment it only seems possible to get it to align to the right of the dockingpane. Is there anyway of achieving this?

We've tried using the MoveAlignedControls method but can't seem to obtain the result we want. Is our only solution to convert the toolbar to a commandbar?

Oh, and happy Thanksgiving. Enjoy your turkey.

 

Back to Top
jiri View Drop Down
Newbie
Newbie


Joined: 31 October 2003
Location: Czech Republic
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote jiri Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2004 at 8:46am

Hi,

Can You explain, why You want to use standard toolbar?

Jiri

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: 29 November 2004 at 10:06am
What was result from using MoveAlignedControls?

Try placing the standard Toolbar in a PictureBox, then use MoveAlignedControls.
Back to Top
Geraint P View Drop Down
Newbie
Newbie


Joined: 13 September 2004
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote Geraint P Quote  Post ReplyReply Direct Link To This Post Posted: 29 November 2004 at 11:03am

For toolbar, read coolbar, although it doesn't make much of a difference to the question. The reason we want to use that instead of a commandbar? Well, it's a complicated coolbar (in a complicated application), and in the short-term we'd like to keep that in place whilst moving others aspects of the codejock controls into the app. We do plan to replace it eventually, but it would be nice to keep it in place in the short term.

I think the easiest way to describe my problem is to reference one of your code samples. In the MDISample code for docking panes (not the command bar version) how would you re-write it so that it used a commandbar for the menu system, but the existing toolbar remained exactly as it is?

 

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