• Advertisement
Sign in to follow this  

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

This topic is 3621 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
Advertisement
Sign in to follow this  

  • Advertisement