Quick Reference
Commands
CUI
Manages the customized user interface elements in the product.
Pull-down and Shortcut Menus
Pull-down menus are displayed as a list under a menu bar. Shortcut menus
(also called context menus) are displayed at or near the crosshairs or cursor
when you right-click in the drawing window, text window, command window,
in toolbar areas, or the ribbon.
Overview of Pull-Down and Shortcut Menus
A pull-down menu can contain up to 999 commands. A shortcut menu can
contain up to 499 commands. The command limit includes all menus in a
hierarchy. If commands in the menu file exceed these limits (which is unlikely),
the program ignores the extra commands. If a pull-down or shortcut menu is
longer than the available display space, it is truncated to fit. When a pull-down
or shortcut menu is truncated, two arrows are added to the menu; one is added
at the top and another to the bottom. With the arrows, you can scroll the list
of menu items up or down. The following table shows the properties for the
File menu as they appear in the Properties pane. The properties for a pull-down
menu and shortcut menu are identical.
Properties for the File menu
Properties pane Description Example
item
Name String used as the caption of the menu on the menu bar. &File
Text used to describe the element; does not appear in
the user interface.
Description
Specifies the aliases for the menu. Click the [ ] button to POP1, FILE
open the Aliases dialog box. Each alias in the CUIx file
Aliases
should be unique; and it is used to reference the menu
programmatically.
Element ID Tag that uniquely identifies a menu. ID_MnFile
212 | Chapter 4 User Interface Customization