Print Page | Close Window

Reg Intelligent menus

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=5524
Printed Date: 04 October 2024 at 5:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Reg Intelligent menus
Posted By: bluesaphire
Subject: Reg Intelligent menus
Date Posted: 15 November 2006 at 5:03am
Hi,
 
In the sample "Intelligent menus",you have used the following commands in the oncreate of the mainframe  to hide certain menu items.

pOptions->bAlwaysShowFullMenus = FALSE;

pCommandBars->HideCommands(uHideCmds, _countof(uHideCmds));
 
In my application ,the MenuBar is created at very later stage of the application instantiation. i.e the menubar is not been loaded in the Oncreate of the mainframe .
i am using the same commands after the menu is loaded at the run time,but the desired menu items doesnt seem to be hidden which otherwise means intelligent menus doesnt seem to work.
Is there anything extra that is required to make the intelligent menus work when the menus are not been loaded in the mainframe on create but at a much later stage(run time)???
 



Replies:
Posted By: Oleg
Date Posted: 15 November 2006 at 8:12am

Hello,

Doesn't matter when you create menubar. it must work.
 
Check, may be bAlwaysShowFullMenus  restored from registry as TRUE...  check Options in Customize dialog.


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


Posted By: bluesaphire
Date Posted: 16 November 2006 at 6:56am
 i unchecked the Showalwaysfullmenus option in the customize dialog Still no luck..any other options or clues?



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