ButtonMenuTool property (ILEADRasterAnnToolBar)
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 ANN_TOOL_POINT, then the second menu item of the button at the position (iButtonIndex = 2) of the annotation toolbar will be associated with the Point Tool. Therefore, when the user clicks on the button at the position (iButtonIndex = 2) 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