![]() |
Reg Intelligent menus |
Post Reply ![]() |
Author | |
bluesaphire ![]() Newbie ![]() ![]() Joined: 07 August 2006 Location: India Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() 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)???
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
bluesaphire ![]() Newbie ![]() ![]() Joined: 07 August 2006 Location: India Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() |
i unchecked the Showalwaysfullmenus option in the customize dialog Still no luck..any other options or clues?
|
|
![]() |
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 |