Sign in to follow this  
Followers 0
Phenax

If Mouse is Captured/Not There

3 posts in this topic

Hello,

I was wondering if it would be possible to make a function that returns whether the mouse is "captured" or not. By captured, I mean like when you play a First-Person Shooter, and your mouse goes away - seemingly captured by the game.

Thanks.

Share this post


Link to post
Share on other sites



The cursor doesn't "goes away", it's just changed. Perhaps MouseGetCursor or _WinAPI_GetCursorInfo is what you are looking for. I don't have any games installed atm so I can't try myself.

Share this post


Link to post
Share on other sites

_WinAPI_GetCursorInfo seems to be working. Thanks man!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0