ButtonMenuTool property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax short ButtonMenuTool (short iButtonIndex, short iToolIndex);

Overview:  Refer to Annotation Toolbar.

Remarks

Contains the tool associated with the specified menu item of the specified annotation toolbar button.

For example, if ButtonMenuTool(2, 1) contains the value ANNTOOL_POINT, then the second menu item of the third button of the annotation toolbar will be associated with the Point Tool. Therefore, when the user clicks on the third button of the annotation toolbar a menu will be displayed with all the tools associated with that button. The second menu item will be the Point Tool.

You must use the ButtonMenuText and ButtonMenuTextID properties to set the text for the menu item.

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, ButtonMenuText property, ButtonMenuTextID 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