AKDADEVIL Dec 30, 2012 @ 4:19am
Solution: What to do if your mouse does not lock to the game in a multi-monitor setup.
I recently bought C&C: Red Alert 3 and I'm liking it so far. However my mouse does not lock to the game-window using dual monitors.

Since this is a problem with many games in a multi-monitor setup I have written a small program to confine the cursor to the boundaries of the primary monitor (e.g. "clip the cursor").

It is written in VB6 and will run on any PC sporting Windows XP or newer. Since it is VB6 (no .net-Shamework here), it uses hardly any memory or cpu time.

I guarantee that it is free of malware, spyware or viruses (and of charge for that matter ;]). No installation, just unzip and run:

http://s382701517.online.de/apps/PrimaryLock.zip

As long as it is running, you can not move the cursor out of your primary display device. The effect ends after you close the window. What it does is to simply (ab)use the Windows API-function ClipCursor which can be used to keep the cursor inside a given rectangle on the desktop.

I first created this for TES V: Skyrim, but it should work with almost all Steam-games (e.g. tested with Magic DotP 2012, Puzzle Quest 2, Batman Arkham City and many more) and therefore with Red Alert 3, too of course... :)

The current version only supports games that run on the monitor's native resolution, if the in-game resolution is higher, you can not move the mouse over the whole screen, if in-game resolution is lower, it basically has no effect.

Hope it works for you, enjoy and comment... :)

Regards from Munich, Germany

AKDA
Last edited by AKDADEVIL; Dec 30, 2012 @ 4:20am
Showing 1-6 of 6 comments
< >
XpanD - have a good one, people! May 12, 2013 @ 2:53am 
Great little tool, thanks a lot. This made Command and Conquer 3: Kane's Wrath playable for me. :)
@Brady_The Oct 5, 2013 @ 8:59pm 
Thanks a lot for this tool! You literally saved me from a heart stroke. ;-) (Game: Skyrim)
AKDADEVIL Oct 8, 2013 @ 10:39am 
Originally posted by @Brady_The:
Thanks a lot for this tool! You literally saved me from a heart stroke. ;-) (Game: Skyrim)

Thanks a lot for the feedback! Be sure to shill the program out to anyone who is interested... ;)
Maybe I'll make a more variable and comfortable version in the future... :D
FlashGordon Jun 30 @ 11:08am 
Works like a champ. Thanks
HorseWithNoName Jul 15 @ 1:09pm 
Thanks a lot for this awsome tool! I was not able to play Skyrim since I have two screens until I found this Thread.

Regards from Munich, Germany

-Me
niks Aug 9 @ 6:02am 
I just wanted to thank you so much. To boost google to find this: mouse cursor stays in game with this tool, works for every game on primary monitor. Virustotal has 0 finds. Again, thanks and excellent stuff
Showing 1-6 of 6 comments
< >
Per page: 15 30 50