![]() |
Locking the main menu position |
Post Reply
|
| Author | |
Alistair
Newbie
Joined: 14 May 2004 Status: Offline Points: 15 |
Post Options
Thanks(0)
Quote Reply
Topic: Locking the main menu positionPosted: 20 May 2004 at 9:17am |
|
I'd like to fix the main menu to the top of the window (above any toolbars) and remove it's gripper.
I can lock it at the top of the window so it can't be floated or docked to any other edge but I can't see how to get rid of the gripper bar and stop users from positioning toolbars above it. Any ideas? --- Al. Edited by Alistair |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 May 2004 at 10:46am |
|
pMenuBar->EnableDocking(xtpFlagStretched); pMenuBar->ModifyBarStyle(CBRS_GRIPPER, 0); |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Joe Brown
Newbie
Joined: 01 March 2004 Status: Offline Points: 15 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 May 2004 at 12:25pm |
|
Was ModifyBarStyle added after Toolkit Pro v8.51? It's not anywhere in the source.
|
|
![]() |
|
Alistair
Newbie
Joined: 14 May 2004 Status: Offline Points: 15 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 May 2004 at 3:35am |
|
Oleg mentioned ModifyBarStyle() which I've looked at in the help before and wondered what the available styles are: the help doesn't list them!
Anyway, it works (thanks) but users can still position my toolbar *above* the menu bar. Is it possible to force all toolbars to be *below* the menubar? The quality of the help has been discussed elsewhere but a list of all the styles available to ModifyBarStyle would be a huge improvement. --- Al. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 June 2004 at 3:50am |
|
You can only lock all other toolbars for that.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Alistair
Newbie
Joined: 14 May 2004 Status: Offline Points: 15 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 June 2004 at 4:58am |
|
Ok, thanks.
--- Al. |
|
![]() |
|
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 |