Hello,
I am developing an OpenGL program with MFC. I want to press a specfic key on the keyboard
to pan, zoom and rotate and use the mouse coordinates to calculate the translation, zoom and rotation values.
The problem is when I move the mouse out of the window, the program stops reading the mouse movement, so rotation, translation and zoom stop. If the window is very small I am limited to small portion of the window and not to the whole screen.
I tried to use SetCapture() to capture the mouse, but this does not work because I need to continously press the mouse right or left button and I don’t want this to happen.
Does anybody know how to do this. I have seen this in other programs.
Thanks,
Billy.
[This message has been edited by billy (edited 01-28-2002).]