Print Page | Close Window

Locking the main menu position

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=765
Printed Date: 24 December 2024 at 8:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Locking the main menu position
Posted By: Alistair
Subject: Locking the main menu position
Date Posted: 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.



Replies:
Posted By: Oleg
Date Posted: 21 May 2004 at 10:46am

pMenuBar->EnableDocking(xtpFlagStretched);

pMenuBar->ModifyBarStyle(CBRS_GRIPPER, 0);



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Joe Brown
Date Posted: 21 May 2004 at 12:25pm
Was ModifyBarStyle added after Toolkit Pro v8.51? It's not anywhere in the source.


Posted By: Alistair
Date 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.


Posted By: Oleg
Date Posted: 01 June 2004 at 3:50am
You can only lock all other toolbars for that.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Alistair
Date Posted: 01 June 2004 at 4:58am
Ok, thanks.

--- Al.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net