# SetWaitCursor

int SetWaitCursor (int waitCursorState);

## Purpose

Specifies the state of the wait cursor. If you activate the wait cursor, LabWindows/CVI overrides all other cursor styles to display the wait cursor.

LabWindows/CVI maintains the state of the wait cursor independently for each thread. Thus, a call to SetWaitCursor in one thread does not cause the wait cursor to appear while a panel from another thread is the active panel.

## Parameters

Input
Name | Type | Description
waitCursorState | integer | The state of the wait cursor. 1 = wait cursor active 0 = wait cursor inactive When the wait cursor is active, LabWindows/CVI overrides all other cursor styles until the cursor is deactivated.

## 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