SetMouseCursor

int SetMouseCursor (int mouseCursorStyle);

Purpose

Sets the appearance of the mouse cursor to the specified style.

SetMouseCursor sets the mouse cursor appearance for all existing panels, regardless of the thread in which you create them, and any panels you subsequently create by calling NewPanel, DuplicatePanel, or LoadPanel.

Parameters

Input
Name Type Description
mouseCursorStyle integer The mouse cursor style.

The following lists the valid styles:

VAL_DEFAULT_CURSOR
VAL_CHECK_CURSOR
VAL_CROSS_HAIR_CURSOR
VAL_BOX_CURSOR
VAL_POINTING_FINGER_CURSOR
VAL_OPEN_HAND_CURSOR
VAL_QUESTION_MARK_CURSOR
VAL_HOUR_GLASS_CURSOR
VAL_HIDDEN_CURSOR
VAL_SIZE_NS_CURSOR
VAL_SIZE_EW_CURSOR
VAL_SIZE_NW_SE_CURSOR
VAL_SIZE_NE_SW_CURSOR
VAL_CLOSED_HAND_CURSOR
VAL_SIZE_EW_CURSOR_2
VAL_SIZE_NS_CURSOR_2
VAL_MOVE_CURSOR

Return Value

Name Type Description
status integer Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Code Error Message String
xx Success