Archived

This topic is now archived and is closed to further replies.

toddel

Keeping mouse inside primary window on multiple monitor system

Recommended Posts

I''m wondering how to go about keeping the mouse from going outside the game window, which is running in fullscreen mode, on a multiple monitor system. I''ve been search through MSDN docs and cant seem to find an answer (im also not the graphics programmer on the project but would like to get rid of this annoyance).

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
calling ClipCursor with the RECT that''s returned via a call to GetWindowRect for the gaming window''s HWND might do the trick.

Share this post


Link to post
Share on other sites