This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarControl2 Interface > IToolbarControl2.MenuTracking Property (ArcObjects .NET 10.5 SDK) |
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
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.