Print Page | Close Window

disable menubar and toobar context menus

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=1178
Printed Date: 06 November 2025 at 2:16pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: disable menubar and toobar context menus
Posted By: tobi
Subject: disable menubar and toobar context menus
Date Posted: 15 September 2004 at 3:49pm

Hi,

Iīm looking for a way to enable and disable the context menus from menu- and toolbars which appear if the user right clicks on them ! This should be a option in my application settings but till now I didnīt find a way to do this...

Does anyone found a solution for this problem ?




Replies:
Posted By: Oleg
Date Posted: 15 September 2004 at 11:48pm

SetContextMenuPresent(FALSE);

or

SetCloseable(FALSE);



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


Posted By: tobi
Date Posted: 16 September 2004 at 5:06am
This solutions only hides the toolbar or menubar from the context menu, but the context menu itself is shown. I want to hide the context menu completly...


Posted By: Oleg
Date Posted: 16 September 2004 at 8:40am
overload ContextMenu method of CXTPCommandBars.

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



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