int = ShowCursor(show)

The ShowCursor method displays or hides the cursor.


show : int

Visiblilty flag


This function sets an internal display counter that determines whether the cursor should be displayed. The cursor is displayed only if the display count is greater than or equal to 0. If a mouse is installed, the initial display count is 0. If no mouse is installed, the display count is -1.

Win32 API References

Search for ShowCursor at msdn, google or google groups.

Return Value

The return value specifies the new display counter