Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Suhai Gyorgy
|
Dec 6, 2005 - 2:41 AM
|
Hi!
I’ve read one thread in the other forum concerning the above problem. I’d like to ask some more about this issue. If I set the CExtPopupMenuWnd::g_bMenuExpanding and CExtPopupMenuWnd::g_bMenuHighlightRarely flags to false, I guess I can comment out the definition of statBasicCommands array and the call of g_CmdManager->SetBasicCommands method from my MainFrame’s OnCreate method. Is that correct? Or does SetBasicCommands set something else as well?
Thank you for your answer: Chris.
|
|
Technical Support
|
Dec 6, 2005 - 10:12 AM
|
The g_CmdManager->SetBasicCommands() just enables/disables the command statistics for the commands specified by pCommands . If the bOn parameter is set to true , the commands are always displayed in the menu; otherwise, they are hidden. So if you disable the most recently used menu items feature, then you don’t need to call this method.
|
|