Sign in to follow this  
Followers 0
Dragon-RD

Keeping mouse cursor in focused window

2 posts in this topic

Hello everone just wondering if there is a way to keep the mouse cursor in the active window. Having some problems with an old game (Baldur's Gate 1) in fullscreen so figured id try my luck in window mode, it works great but I can't scroll because I use two monitors. Up down left work fine but to the right it just scrolls off to the other monitor. I've got the window keeping focus which is nice but for the life of me can't work out how to keep cursor focus.

Any help would be greatly received,

Dragon-RD

Share this post


Link to post
Share on other sites



Use the _MouseTrap() function.

Awesome thanks :)!

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  
Followers 0