You should see a list of windows messages on the left pane. If you do not, select Child Windows in the pull-down list labeled Filter for messages available to class. Adding Other Menu Options There are several options you can control with the mouse. By setting a different mouse mode, you can control the camera pan and tilt and move and roll. You can also enable or disable gravity.
Gravity forces the up direction to always be up.
Then go to ClassView and right click on CChildView. Select Add Windows Message Handler. Add handlers for both of these. This is some example OpenGL code you can use as a starting point for this tutorial. The aspect ratio.