Properties for the Zoom flyout on the Standard toolbar Example Description Properties pane item TB_ZOOM A read-only value used to specify which toolbar
is being referenced to create the flyout. Source
Toolbar
No Controls whether the last used toolbar button is set as the current button or not. The possible values are Yes or No.
Use Own Button
RCDATA_16_ZOOM ID string of the small-image resource (16 × 16
bitmap). The string must include alphanumeric Small Im-
age
characters with no punctuation other than a hyphen (-) or an underscore (_). It can also be a user-defined bitmap. Click the ellipses button [...] to open the Select Image File dialog box.
RCDATA_16_ZOOM ID string of the large-image resource (32 × 32
bitmap). If the specified bitmap is not 32 × 32, Large Im-
age
the program scales it to that size. The string must include alphanumeric characters with no punctuation other than a hyphen (-) or an un- derscore (_). It can also be a user-defined bit- map. Click the ellipses button [...] to open the Select Image File dialog box
When you create a new toolbar or flyout toolbar, the first task you need to do is assign a name to it. A new toolbar has no commands or controls assigned to it. If a toolbar has no commands or controls on it, it is ignored by the program until you add at least one command or control to it. You can drag commands and controls onto the new toolbar from existing toolbars or from the Command List pane. Once a command has been added to the toolbar, you can change the text that is displayed in the tooltip when the cursor is paused over top of the button by adjusting the Name property that is displayed in the Properties pane.
While commands and controls can be added to or removed from a toolbar in the Customizations In <file name> pane, but they can also be added or removed using the Toolbar Preview pane. The Toolbar Preview pane allows you to add and remove commands or controls visually in real-time instead of just using
the tree view. You can also be interactively drag command and controls in the preview to reposition them.
The program also allows you to customize toolbars that are displayed in the application when the Customize User Interface editor is open. You can drag commands from the Command List pane and drop then directly onto a visible toolbar that is docked or floating in the application. You can also remove, reposition, or copy commands while the CUI editor is open.
To create a toolbar
1 Click Tools menu ➤ Customize ➤ Interface.At the Command prompt, enter cui.
2 In the Customize User Interface editor, Customize tab, in the Customizations In <file name> pane, right-click Toolbars. Click New Toolbar.
A new toolbar (named Toolbar1) is placed at the bottom of the Toolbars tree.
3 Do one of the following:
■ Enter a new name over the Toolbar1 text.
■ Right-click Toolbar1. Click Rename. Enter a new toolbar name.
■ Click Toolbar1, wait, and click again over the toolbar’s name again to edit its name in-place
4 Select the new toolbar in the tree view, and update the Properties pane: ■ In the Description box, enter a description for the toolbar.
■ In the On By Default box, click Hide or Show. If you choose Show, this toolbar will be displayed in all workspaces.
■ In the Orientation box, click Floating, Top, Bottom, Left, or Right.
■ In the Default X Location box, enter a number.
■ In the Default Y Location box, enter a number.
■ In the Rows box, enter the number of rows for an undocked toolbar.
■ In the Aliases box, enter an alias for the toolbar.
5 In the Command List pane, drag the command you want to add to a location just below the name of the toolbar in the Customizations In <file name> pane.
6 Click OK.
To create a flyout toolbar from scratch
1 Click Tools menu ➤ Customize ➤ Interface.At the Command prompt, enter cui.
2 In the Customize User Interface editor, Customize tab, in the
Customizations In <file name> pane, click the plus sign (+) next to the Toolbars tree node to expand it.
3 Right-click the toolbar to which you want to add a flyout toolbar. Click New Flyout.
A new flyout toolbar (named Toolbar1) is placed below the toolbar you selected.
4 Right-click Toolbar1. Click Rename. Enter a new toolbar name. NOTE You can click, wait, and click again over a toolbar name to edit its name in-place.
NOTE Just renaming the toolbar won’t change the name of the flyout. You must select and rename the flyout independently if you want them to both have the same name.
5 In the Command List pane, drag the command you want to add to a location just below the toolbar flyout name in the Customizations In <file name> pane.
6 Click OK.
To create a toolbar from a pull-down menu
1 Click Tools menu ➤ Customize ➤ Interface.At the Command prompt, enter cui.
2 In the Customize User Interface editor, Customize tab, in the
Customizations In <file name> pane, click the plus sign (+) next to the Toolbars tree node to expand it.
3 Click the plus sign (+) next to the Menus tree node to expand it. 4 Drag the menu that you want to create a toolbar from and drop it onto
5 Update the workspace as desired to update the display and position for the new toolbar.
To create a flyout toolbar from another toolbar
1 Click Tools menu ➤ Customize ➤ Interface.At the Command prompt, enter cui.
2 In the Customize User Interface editor, Customize tab, in the
Customizations In <file name> pane, click the plus sign (+) next to the Toolbars tree node to expand it.
3 Click the plus sign (+) next to the toolbar to which you want to add a flyout toolbar.
4 Locate the toolbar you want to add as a flyout. Drag that toolbar to a location in the expanded toolbar.
5 Click OK.
To create a flyout toolbar from a pull-down menu
1 Click Tools menu ➤ Customize ➤ Interface.At the Command prompt, enter cui.
2 In the Customize User Interface editor, Customize tab, in the
Customizations In <file name> pane, click the plus sign (+) next to the Toolbars tree node to expand it.
3 Click the plus sign (+) next to the Menus tree node to expand it. 4 Drag the menu that you want to create a flyout from and drop it onto
the node of the toolbar where you want to place the flyout.
If the menu is dropped on a toolbar, a new flyout and toolbar are created.
5 Reposition the new flyout on the toolbar.
6 Update the workspace for the display and position for the new toolbar. To add a command to a toolbar in the Customizations In pane
1 Click Tools menu ➤ Customize ➤ Interface.At the Command prompt, enter cui.
2 In the Customize User Interface editor, Customize tab, Command List pane, drag the command you want to add to a location just below the toolbar name in the Customizations In <file name> pane.
3 Click the plus sign (+) to the left of the toolbar to display the command you just added.
4 Click OK.
To add a command to a toolbar in the Toolbar Preview pane
1 Click Tools menu ➤ Customize ➤ Interface.At the Command prompt, enter cui.
2 In the Customize User Interface editor, Customize tab, in the
Customizations In <file name> pane, click the plus sign (+) next to the Toolbar node to expand it.
3 Select the toolbar you want to add a command to.
4 In the Command List pane, drag the command you want to add to the selected toolbar and drop it on the toolbar’s preview in the Toolbar Preview pane.
You can control where the command is placed by releasing the mouse button when the black vertical splitter bar is displayed.
5 Click OK.
To add a command to a toolbar outside the CUI editor
1 Display the toolbar you want to add a command to by right-clicking over a toolbar button. Click the name of the toolbar.
2 Right-click over any toolbar button. Click Customize.
3 In the Customize User Interface editor, Customize tab, Command List pane, drag the command you want to add and drop it onto the toolbar.
You can control the location the command by using the splitter bar as a visual indicator.
4 Click OK.
To reposition a button on a toolbar in the Customizations In pane
1 Click Tools menu ➤ Customize ➤ Interface.At the Command prompt, enter cui.
2 In the Customize User Interface editor, Customize tab, in the
Customizations In <file name> pane, click the plus sign (+) next to the Toolbar node to expand it.
3 Click the plus sign (+) next to a toolbar to expand it.
4 Drag the name of the button you want to reposition to the new location in the list of tools.
When the splitter bar is displayed, you can place the button between two buttons. When the left arrow appears, you can place the button below another button.
5 Click OK.
To reposition a button on a toolbar in the Toolbar Preview pane
1 Click Tools menu ➤ Customize ➤ Interface.At the Command prompt, enter cui.
2 In the Customize User Interface editor, Customize tab, in the
Customizations In <file name> pane, click the plus sign (+) next to the Toolbar node to expand it.
3 Drag the button in the toolbar’s preview that you want to reposition.
While dragging the button to the new position, use the splitter bar as a visual indicator to specify the location of the button.
4 Click OK.
To reposition a button on a toolbar outside the CUI editor
1 Display the toolbar you want to add a command to by right-clicking over a toolbar button. Click the name of the toolbar.
2 Right-click over any toolbar button. Click Customize. 3 Drag the button on the toolbar that you want to reposition.
While dragging the button to the new position, use the splitter bar as a visual indicator to specify the location of the button.
4 Click OK.
To remove a button from a toolbar in the Customizations In pane
1 Click Tools menu ➤ Customize ➤ Interface.At the Command prompt, enter cui.
2 In the Customize User Interface editor, Customize tab, in the
Customizations In <file name> pane, click the plus sign (+) next to the Toolbar node to expand it.
3 Click the plus sign (+) next to a toolbar to expand it.
4 Right-click the name of the button you want to remove. Click Remove.
To remove a button from a toolbar in the Toolbar Preview pane
1 Click Tools menu ➤ Customize ➤ Interface.At the Command prompt, enter cui.
2 In the Customize User Interface editor, Customize tab, in the
Customizations In <file name> pane, click the plus sign (+) next to the Toolbar node to expand it.
3 Drag the button in the toolbar’s preview that you want to remove and drop it outside of the preview.
4 Click OK.
To remove a command from a toolbar outside the CUI editor
1 Display the toolbar from which you want to remove a command by right-clicking over a toolbar button. Click the name of the toolbar. 2 Right-click over any toolbar button. Click Customize.
The Customize User Interface editor is displayed.
3 Drag the button you want to remove from the toolbar and drop it over the drawing window.
4 Click OK.
5 In the Customize User Click Interface editor, click OK. To change properties of a toolbar
1 Click Tools menu ➤ Customize ➤ Interface.At the Command prompt, enter cui.
2 In the Customize User Interface editor, Customize tab, in the
Customizations In <file name> pane, click the toolbar whose properties you want to change.
NOTE Making changes to a toolbar’s properties here only affect the initial appearance of the toolbar after the CUI file has been loaded. To control the appearance of a toolbar, it is best to use a workspace.
3 In the Properties pane, make your changes.
NOTE Before you attempt to change an alias in a toolbar, you need to understand how aliases function. For more information about aliases, see
Create Command Aliases (page 21).
4 Click OK.
To change the tooltip of a button
1 Click Tools menu ➤ Customize ➤ Interface.At the Command prompt, enter cui.
2 In the Customize User Interface editor, Customize tab, in the
Customizations In <file name> pane, click the plus sign (+) next to the Toolbar node to expand it.
3 Select the toolbar whose tooltip text you want to change.
4 In the Properties pane, in the Display section, make the desired change to the Name property (not the Command Name property).
5 Click OK.
Quick Reference
Commands
CUI
Manages customized user interface elements such as workspaces, toolbars, menus, shortcut menus and keyboard shortcuts
QUICKCUI
Displays the Customize User Interface dialog box in a collapsed state
System Variables
TOOLTIPS
Controls the display of tooltips on toolbars
Utilities
No entries
Command Modifiers
No entries