This topic is now archived and is closed to further replies.

Cursor Problems

This topic is 5588 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

From the MSDN:

"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."

The display counter it's talking about is the return code from ShowCursor. So return codes >= 0 indicates the cursor is shown, < 0 indicates hidden.

Also, and someone else should verify this... When you call ShowCursor(FALSE), doesn't that just effect the window(s) of the calling thread? Maybe I'm thinking of some other API...

EDIT: You could also probably just SetCursor() to be a blank cursor.

[edited by - SilentReaper on August 29, 2002 12:14:18 PM]

Share this post

Link to post
Share on other sites