Jump to content
  • Advertisement


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


Cursor Problems

This topic is 5892 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

For some reason, when I call ShowCursor(FALSE); the cursor doesn''t go away! Anyone else had this problem. I have a GeForce 3 Ti 200 with up to date drivers.

Share this post

Link to post
Share on other sites
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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!