Professional UI Solutions
Site Map   /  Register


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.

Forums » Prof-UIS Tech Support » About customization of the quick access tool bar (Part4) Collapse All
Subject Author Date
tera tera Sep 26, 2009 - 1:41 AM


I want to non-display RibbonNode with this screen.

And a user can not choose node.

tera tera Sep 28, 2009 - 12:49 AM

Thanks you



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.