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 |
|
tera tera
|
Sep 26, 2009 - 1:41 AM
|
Hello. I want to non-display RibbonNode with this screen.
And a user can not choose node. 
|
|
tera tera
|
Sep 28, 2009 - 12:49 AM
|
|
|
Technical Support
|
Sep 26, 2009 - 12:37 PM
|
There are two ways to hide any command in the commands list box:
1) Create your CExtRibbonNode -derived and/or CExtCustomizeCmdTreeNode -derived classes which implement the CExtCustomizeCmdTreeNode::OnGetCommandsListBoxInfo() virtual method. This method should return false for hiding command in the commands list box.
2) Override the CExtCustomizeSite::OnCanDragCustomizeCommand() virtual method in your CExtRibbonBar -derived class and return false for commands which should not appear in the commands list box.
|
|