Sign in to follow this  

Possible to "grab" mouse w/ raw input API?

Recommended Posts

Is it possible to "grab" the mouse (meaning making the cursor disappear, and preventing it from actually moving) using the raw input API? I've tried using the RIDEV_CAPTUREMOUSE flag when defining my raw input device, but it doesn't seem to work (in fact, it makes it so that I don't receive ANY WM_INPUT messages). I'm looking to essentially recreate what happens with DirectInput when creating a mouse device with the exclusive and foreground flags. Is this possible?

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