int ShowCursor(fShow) | |||||
BOOL fShow; | /* cursor visibility flag | */ |
The ShowCursor function shows or hides the cursor.
fShow
Specifies whether the display count is incremented or decremented (increased or decreased by one). If this parameter is TRUE, the display count is incremented; otherwise, it is decremented.
The return value specifies the new display count, if the function is successful.
A cursor show-level count is kept internally. It is incremented by a show operation and decremented by a hide operation. The cursor is visible only if the count is greater than or equal to zero. If a mouse exists, the initial setting of the cursor show level is zero; otherwise, it is –1.
The cursor is a shared resource. A window that hides the cursor should show it before the cursor leaves its client area or before the window relinquishes control to another window.