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 | int | Determines the state of the wait cursor. Specify a nonzero value or select active in the function panel to set the wait cursor as active. Specify 0 or select inactive in the function panel to set the wait cursor as 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 | int | Return value indicating whether the function was successful. A negative number indicates that an error occurred. |
Additional Information
Library: User Interface Library
Include file: userint.h
LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later