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 |
|
gino corsi
|
Sep 29, 2011 - 8:02 AM
|
Hello, I use next statement to add the menu button NcButtons_Add( new CExtDynamicBarNcAreaButtonMenu(this) ); where this is a CExtDynamicControlBar derived class. It works but I’d like to remove the entry that let the windows to be displayed as a SDI document; I mean, the behaviour we have using BarStateSet(__EDBS_DOCUMENT, true) should be removed from the dropdown menu. Any suggestions?
Regards
|
|
gino corsi
|
Oct 6, 2011 - 7:26 AM
|
It works! Thank you very much! Gino
|
|
Technical Support
|
Oct 4, 2011 - 5:46 AM
|
Please create and use a CExtDynamicControlBar -derived class which implements the CExtDynamicControlBar::OnInitDbsMenu() virtual method. Your method should invoke the parent class method and modify the pPopup menu constructed by default . The ID_EXT_DYN_BAR_TABBED_DOCUMENT and ID_EXT_DYN_BAR_MDI_DOCUMENT menu items should be removed.
|
|
gino corsi
|
Oct 6, 2011 - 7:27 AM
|
Thank you very much for your help! Now everything’s fine! Gino
|
|