Sign in to follow this  

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

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

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

This topic is 3554 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.

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