This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IM > IMouseCursor Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that set the system cursor.
The MouseCursor is a reference to the system mouse cursor object. You can use MouseCursor to set the system mouse cursor to be one of the standard built-in cursors or a custom cursor. This is useful if you want to display a wait cursor while you code performs a large process.
Description | ||
---|---|---|
SetCursor | Sets the application's cursor to cursor id or picture object specified by cursorID. The cursor is automatically reset when the MouseCursor instance is released. |
CoClasses and Classes | Description |
---|---|
MouseCursor | The the system mouse cursor. |
The IMouseCursor interface has one method, SetCursor, for setting the system's cursor to the cursor id or picture object specified by the cursorID parameter. The cursor is automatically reset when the MouseCursor instance is released. The instance is released when the calling procedure ends, when the variable that references the mouse cursor is set to nothing, or when something, such as the display of a message box, overrides Windows messaging.