Engine.GetToolMenuItemInfoWithID

Syntax

Engine.GetToolMenuItemInfoWithID( uniqueItemID, itemText, subMenuIndex, enabled)

Purpose

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

Remarks

Returns information about a Tools menu item.

Parameters

uniqueItemID As Long

[In] Specifies a Tools menu item ID you obtain from the Engine.GetToolMenuItemInfoEx method.

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 .

enabled As Boolean

[Out] If this parameter is True , enable the menu item. If this parameter is False , disable it.

See Also

Engine.GetEditTimeToolMenuItems

Engine.GetRunTimeToolMenuItems

Engine.GetToolMenuItemInfoEx