eriveraa's picture

Windows Forms Mouse Events

Hi 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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
objarni's picture

Use the ordinary mouse events of Windows.Forms. Just select the GLControl in the Designer and double-click (as you would with keyboard events).

the Fiddler's picture

Exactly! The input logger is mainly for debugging the input drivers - check the rest of the winforms examples for how to use input.