your program are working okay except the zoom with pgup pgdown are not working.
i always appreciate displaying graphics inside a window, much better than a bare frame.
what have you used for moving the scene by mouse? is it by using the glut glutPassiveMotionFunc or by using the windows wm_mousemove.
there is no freeglut demos in the thinbasic forum, if you have managed in the future a way to use the freeglut dll from thinbasic such as drawing a line, cube else, this will be fantastic.