This document is archived and information here might be outdated.  Recommended version.


IToolbarControl.MenuTracking Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

IToolbarControl.MenuTracking Property

Indicates if menu tracking is enabled on the ToolbarControl.

[Visual Basic .NET]
Public Property MenuTracking As Boolean
[C#]
public bool MenuTracking {get; set;}
[C++]
HRESULT get_MenuTracking(
  VARIANT_BOOL* pVal
);
[C++]
HRESULT put_MenuTracking(
  VARIANT_BOOL pVal
);
[C++]

Parameters pVal [out, retval] pVal is a parameter of type VARIANT_BOOL pVal [in] pVal is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine.

Description

Indicates whether a menu or palette on the ToolbarControl will display automatically as the user moves the mouse over it, or whether the user must click on the arrow to the right of the menu or palette to display it.

An application's main menu toolbar would typically contain menu only items such as File, Edit, View and Help and would typically have MenuTracking enabled.

See Also

IToolbarControl Interface