
Windows Forms Mouse Events
Posted Thursday, 25 September, 2008 - 07:26 by eriveraa inHi friends, i have made a search in this forums but i couldn't find any good explanation of how to use the mouse (events) with and GLControl inside a WinForm.
I need to understand how the mouse work with the GLControl because i want to manage a camera. I also want to move around the control and be able to see the Absolute coordinates (x,y,z).
Any ideas?
Thanks in advance
pd: I have seen the InputLogger example, but is kind complicated and is not using a Windows Forms to rendering.


Comments
Re: Windows Forms Mouse Events
Use the ordinary mouse events of Windows.Forms. Just select the GLControl in the Designer and double-click (as you would with keyboard events).
Re: Windows Forms Mouse Events
Exactly! The input logger is mainly for debugging the input drivers - check the rest of the winforms examples for how to use input.