Hi all

A slightly off-topic question for you all. I have routines in my code that can un-ClipCursor and also ReleaseCapture for windows that "capture" the mouse to defined areas (mostly games), so that the mouse can now leave the defined area, but I have one game that doesnt work with either of these calls, with this game in full-screen or windowed mode.

Other than ClipCursor and SetCapture, are there any other ways to prevent a mouse leaving a defined area, or at least from leaving a window? As the application is a game, so I am guessing that there is a DirectX call somewhere to do the same kind of thing, but I have no idea what it is I am supposed to be looking for. (And then I have the headache of seeing if I can actually disable it).

Does anyone have any ideas, or pointers to help me out with this quest?

(Yes, I know it could totally screw up the game behaviour, but I wont know until I try...)

Many thanks in advance for your help

Steve

Reply via email to