Original Post
Hello, In my current project I generate terrain from a height map and the user may navigate around this virtual world. I am attempting to implement moving with the keyboard (a, d, w and s keys) and viewing with the mouse as in a first person shooter style move\look scheme. The issue I am having is "losing" the mouse as the user moves the mouse around because as soon as the cursor(which I have set to invisible) moves out of the client area it obviously stops sending mouse move messages to my application. Now I know there is a way to "trap" the mouse input because this is exactly what Jake2 does. When you load the game windowed or not the cursor disappears and mouse movement translates to looking around regardless of the operating systems interpretation of the where the cursor is. Anyhow, I have googled the crap out of this and just can't seem to find any information that pertains to my situation. So, any help would be very much appreciated, thank you in advance.