Engine.GetNumToolMenuItems

Syntax

Engine.GetNumToolMenuItems( menuIndex)

Return Value

Long

The number of Tools menu items.

Purpose

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

Remarks

Returns the number of menu items a specific Tools menu contains.

Call the Engine.ConstructToolMenus method before calling this function.

Parameters

menuIndex As Long

[In] Specifies the zero-based index of the Tools menu from which to obtain the number of Tools menu items.

See Also

Engine.ConstructToolMenus

Engine.GetEditTimeToolMenuItems

Engine.GetRunTimeToolMenuItems