Engine.GetToolMenuItemInfoWithIDEx

Syntax

Engine.GetToolMenuItemInfoWithIDEx( uniqueItemID, itemText, subMenuIndex, itemAttributes)

Purpose

Note This method is obsolete. Use the Engine.GetEditTimeToolMenuItems and Engine.GetRunTimeToolMenuItems methods instead.

Remarks

Returns information about a Tools menu item, which you specify with a unique Tools menu item ID.

The information returned is useful for constructing a Tools menu in a user interface. You must call the Engine.ConstructToolMenus method before calling this function.

Parameters

uniqueItemID As Long

[In] Specifies the Tools menu item ID you obtain from the Engine.GetToolMenuItemInfoEx method or the Menu_ToolIDProp property on the object the Engine.GetToolMenuStructure method returns.

itemText As String

[Out] Returns the text to display in the menu item.

subMenuIndex As Long

[Out] If the item is a submenu, this parameter returns the zero-based menu index of the Tools menu for the item. Otherwise, it returns -1 .

itemAttributes As Long

[Out] The bitwise-OR combination of one or more ToolMenuItemAttributes constants. Use the bitwise-AND operator to determine whether an item has a specific attribute.

See Also

Engine.ConstructToolMenus

Engine.GetEditTimeToolMenuItems

Engine.GetRunTimeToolMenuItems

Engine.GetToolMenuItemInfoEx

Engine.GetToolMenuStructure

MenuItemProperties

ToolMenuItemAttributes