Print Page | Close Window

Lock 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=7056
Printed Date: 15 May 2024 at 1:15pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Lock menu position?
Posted By: znakeeye
Subject: Lock menu position?
Date Posted: 06 May 2007 at 6:58pm
Hi,
 
I've been pondering upon this for quite some time now. It should be simple, but I can't find the flag/function for it!
 
How do I make the menu bar undockable? That is, it should not be possible to move it. Similar to the menu in VS 2005.



Replies:
Posted By: Oleg
Date Posted: 07 May 2007 at 7:40am
Hello,
 
Call
pMenuBar->EnableDocking(xtpFlagStretched);


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


Posted By: znakeeye
Date Posted: 07 May 2007 at 11:08am
It works, but the "drag here"-dots are still visible. Drawing bug?
 


Posted By: Oleg
Date Posted: 07 May 2007 at 12:47pm
no. another flag.
pMenuBar->SetShowGripper(FALSE);


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


Posted By: znakeeye
Date Posted: 07 May 2007 at 2:19pm
Great! Thanks :)


Posted By: hikaroute
Date Posted: 05 September 2007 at 2:19am

And I also need to know if we lock the menubar & disable the grip,
does it show the icon in the left position?

Thank you.




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