Sign in to follow this  

Need windowed mode mouse cursor suggestion

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

Hi, my game works well in fullscreen and windowed modes. My questions is concerning the best way to handle mouse input. Basically I keep track of the mouse positions (DirectInput) and draw a cursor at the right place. In windowed mode, however, you should be able to move to another program or whatever. I'm thinking I should release the mouse when the game is paused or something like that, but then you can't use the game cursor to select "unpause" inside the game GUI. The best idea I have right now is to show BOTH cursors at once, whenever the game is paused, and the 'game' cursor basically just gets stuck at the edges of the window if you move the cursor to the taskbar/another app/etc. How have other people handled this issue?

Share this post


Link to post
Share on other sites

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