MapControl (Windows Forms).SetCustomCursor Method
Thread safety: This method is not thread-safe and it should only be called from the GUI thread. Show
SetCustomCursor(Cursor cursor, System.Windows.Forms.Cursor handle)
Replaces one of the predefined mouse cursors with a custom cursor.Syntax
public void SetCustomCursor (
Cursor cursor,
System.Windows.Forms.Cursor handle
)
Parameters
cursor
Type: Cursor
The mouse cursor to replace.
The mouse cursor to replace.
handle
Type: System.Windows.Forms.Cursor
The custom cursor that replaces cursor. To reset the cursor to the default cursor, use a NULL value.
The custom cursor that replaces cursor. To reset the cursor to the default cursor, use a NULL value.
Platforms
Windows