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 > IToolbarMenu2 Interface > IToolbarMenu2.MousePointer Property (ArcObjects .NET 10.5 SDK) |
The mouse pointer displayed over the ToolbarMenu.
[Visual Basic .NET] Public Property MousePointer As esriControlsMousePointer
[C#] public esriControlsMousePointer MousePointer {get; set;}
[C++]
HRESULT get_MousePointer(
esriControlsMousePointer* pVal
);
[C++]
HRESULT put_MousePointer(
esriControlsMousePointer pVal
);
[C++]
Parameters pVal [out, retval]
pVal is a parameter of type esriControlsMousePointer pVal [in]
pVal is a parameter of type esriControlsMousePointer
Use this property when you want to indicate changes in functionality as the mouse pointer passes over the ToolbarMenu. The esriPointerArrowHourglass setting (11) is useful for indicating that the user should wait for a process or to finish.
If the ToolbarMenu has also been added to the ToolbarControl, the ToolbarControl will override the MousePointer property with the IToolbarControl::MousePointer property, before the ToolbarMenu is displayed with the IToolbarMenu::PopupMenu method.