Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS Tech Support » About customization of the quick access tool bar (Part2) Collapse All
Subject Author Date
tera tera Sep 24, 2009 - 12:01 AM

Hello.


In the setting window of the quick access bar, I want to display a name.

But the name does not want to display it by the ribbon menu.

Please teach a way.


Technical Support Sep 26, 2009 - 12:37 PM

Here is how the "Paste" command is initialized in the CMainFrame::_InitRibbonNode_Home_Clipboard() method in the RibbonBar sample application:

CExtRibbonNode * pNodePaste =
                        new CExtRibbonNode( ID_EDIT_PASTE, 0, NULL, 0, _T("Paste") );

The _T("Paste") text is specified as a constructor parameter. That is why you see this text in the ribbon quick access toolbar customization dialog. But not all the commands are initialized with the text. That is why you see some commands without text in the commands list

tera tera Oct 7, 2009 - 1:44 AM

A name came to be displayed definitely by quick tool bar.

Thanks,




However, it is displayed as follows if a view area is big this time.





When a view area is big, I do not want to display a name.

Technical Support Oct 7, 2009 - 9:54 AM

You should specify different layout rules to the ribbon buttons displayed on your screen shot. Your buttons should never have the normal informativeness level. They should use only small and big levels or, even only small level.



Technical Support Sep 25, 2009 - 6:41 AM

You should specify the names of these commands during ribbon bar initialization. The constructor of each command tree node allows you to specify the command text.

tera tera Sep 25, 2009 - 7:42 PM

Hello.


How should I program it?

I do not understand it.

Please offer a sample program.