InteractionEvents.SetCursor Method
Parent Object: InteractionEventsDescription
Sets the cursor for the command in which this interaction takes place.
Syntax
InteractionEvents.SetCursor( CursorType As CursorTypeEnum, [Cursor] As Variant, [CursorHotSpot] As Variant )Parameters
Name | Type | Description | ||||||||||||||||||||||||||||||||||
CursorType | CursorTypeEnum | Specify the CursorTypeEnum indicating the cursor type. | ||||||||||||||||||||||||||||||||||
Cursor | Variant | Input the cursor. When the CursorType is specified as kCursorTypeCustom, this is required to be set as String indicating a cursor file(.cur, .ani) name or IPictureDisp object(32x32 pixels). If the CursorType is specified as kCursorTypeWindows, this is required to be set as Long indicating the Windows cursor ID, below table shows the map between the Long value and Windows cursor ID:
This is an optional argument whose default value is null. |
||||||||||||||||||||||||||||||||||
CursorHotSpot | Variant | Specify the CursorHotSpotEnum indicating the hotspot location relative to the cursor. This is an optional argument whose default value is null. |