Camera Rotation with mouse with Maxgui

BlitzMax Forums/BlitzMax Beginners Area/Camera Rotation with mouse with Maxgui

I have a MaxGui Window with a opengl canvas.

How can I rotate the camera in the canvas with the mouse, but the right mouse button need's to be held down while rotating the camera?