03.01.2013 Views

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Quick Reference<br />

Commands<br />

CUI<br />

Manages the customized user interface elements in the product.<br />

Pull-down and Shortcut Menus<br />

Pull-down menus are displayed as a list under a menu bar. Shortcut menus<br />

(also called context menus) are displayed at or near the crosshairs or cursor<br />

when you right-click in the drawing window, text window, command window,<br />

in toolbar areas, or the ribbon.<br />

Overview of Pull-Down and Shortcut Menus<br />

A pull-down menu can contain up to 999 commands. A shortcut menu can<br />

contain up to 499 commands. The command limit includes all menus in a<br />

hierarchy. If commands in the menu file exceed these limits (which is unlikely),<br />

the program ignores the extra commands. If a pull-down or shortcut menu is<br />

longer than the available display space, it is truncated to fit. When a pull-down<br />

or shortcut menu is truncated, two arrows are added to the menu; one is added<br />

at the top and another to the bottom. With the arrows, you can scroll the list<br />

of menu items up or down. The following table shows the properties for the<br />

File menu as they appear in the Properties pane. The properties for a pull-down<br />

menu and shortcut menu are identical.<br />

Properties for the File menu<br />

Properties pane<br />

item<br />

Name<br />

Description<br />

Aliases<br />

Element ID<br />

Description<br />

String used as the caption of the menu on the menu bar.<br />

Text used to describe the element; does not appear in<br />

the user interface.<br />

Specifies the aliases for the menu. Click the [ ] button to<br />

open the Aliases dialog box. Each alias in the CUIx file<br />

should be unique; and it is used to reference the menu<br />

programmatically.<br />

Tag that uniquely identifies a menu.<br />

212 | Chapter 4 User Interface <strong>Customization</strong><br />

Example<br />

&File<br />

POP1, FILE<br />

ID_MnFile

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!