ButtonMenuText property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax char * ButtonMenuText (short iButtonIndex, short iToolIndex);

Overview:  Refer to Annotation Toolbar.

Remarks

String containing the menu text for the specified menu item of the specified button in the AnnToolbar object. For example, if ButtonMenuText(2,1) contains the string “Select”, then when the user clicks the third button of the annotation toolbar (iButtonIndex is zero-based), a menu will be displayed. The second menu item will display the text Select.

This property is only valid if ButtonMenuTextID is -1.

The ButtonMenuXXX properties are only used for buttons that are associated with multiple tools.

See Also

Elements:  AutoSetTool property, ButtonBitmapDown property, ButtonBitmapDown property, ButtonColumns property,ButtonCount property, ButtonMenuTextID property, ButtonMenuTool property, ButtonRows property, ButtonTool property, ButtonToolCount property, ButtonToolTipText property, ButtonToolTipTextID property, ButtonVisible property, Create method, hWnd property, Tool property, Visible property

Topics:  Annotations (Document/Medical only): Automation