> GLUT provides mouse, keyboard, basic window management utilities for
> Is there any similar utility to interact (pan/scroll/zoom) with the OpenGL
> grahics drawn on a TWinControl derived (say TPanel) objects? Or a way of
> using GLUT 's mouse,keyboard, windows functions on TPanel ?
Provided that the TPanel has focus you can use the OnMouseMove, OnMouseDown,
OnMouseUp, etc for the mouse move events. You can use the OnKeyDown,
OnKeyPress, etc for keyboard strokes for the form provided the form has
focus. There is a way to capture everything on the form I just don't
remember what it is...has something to do with overriding the WinProc
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.491 / Virus Database: 290 - Release Date: 7/19/2003