|
|
|
|
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 |
|
Oliver Rau
|
Jun 2, 2008 - 7:20 AM
|
Dear ProfUIS-Team, suppose a combobox as an element of a RibbonBar that should always be hidden using cb_box->ModifyFlags(__ECTN_TBB_HIDDEN) . Is there a way (flag?) to make this combobox available anyhow for exclusive use in the Quick Access Toolbar (if the user wants to add the control e.g. via file->options)? Thanks in advance! Best regards, Martin
|
|
Technical Support
|
Jun 5, 2008 - 11:53 AM
|
The Save command button with Diskette like icon in our ribbon sample applications is present in the Quick Access Toolbar and not present in ribbon pages. All the ribbon items are based on the command tree nodes. You should simply initialize an appropriate command tree node for your combo box in the quick access toolbar.
|
|
Oliver Rau
|
Jun 5, 2008 - 4:00 AM
|
Our intention is to introduce a combobox holding a rather big, but fix number of alphanumeric string items. This combobox should be added to the command list in "File->Options" which lets the user add it to the Quick Access Toolbar. It must NOT appear anywhere in the Ribbonbar. So our idea (workaround ) has been to insert the combobox into the RibbonBar, make it hidden and hope that it will still appear in the Options’ command list. Should be rather likely that you have a much better approach for this ... Martin
|
|
Technical Support
|
Jun 3, 2008 - 4:40 AM
|
The TBBS_HIDDEN style is supported in Prof-UIS, but it’s mostly designed for toolbar buttons in non-customizable toolbars. The customizable toolbars and menus and ribbon controls are based on command tree nodes. The customize dialogs are provided both for customizable toolbars and ribbon controls. These dialogs allow you to see all the commands registered in the customization subsystem. This makes the TBBS_HIDDEN style not very compatible with ribbon controls and customizable toolbars because all the UI items are always visible in the customize dialog. Please provide us with more details about your task. Probably you can simply disable your combo box when it’s unavailable.
|
|
Oliver Rau
|
Jun 5, 2008 - 4:02 AM
|
Our intention is to introduce a combobox holding a rather big, but fix number of alphanumeric string items. This combobox should be added to the command list in "File->Options" which lets the user add it to the Quick Access Toolbar. It must NOT appear anywhere in the Ribbonbar. So our idea (workaround ) has been to insert the combobox into the RibbonBar, make it hidden and hope that it will still appear in the Options’ command list. Should be rather likely that you have a much better approach for this ... Martin
|
|