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


IToolbarMenu2.MousePointer Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

IToolbarMenu2.MousePointer Property

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

Product Availability

Available with ArcGIS Engine.

Description

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.

See Also

IToolbarMenu2 Interface