I think I solved this by manually editing the code that visual studio tells me should not be edited manually :)
Visual studio's event browser has no knowledge of a MouseWheel event, but adding this line seems to work anyhow:
this.GLPanel.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.GLPanel_MouseWheel);
On 7/31/07, Anders Wallin <anders.e.e.wallin@...> wrote:I am using SimpleOpenGLControl and trying to bind some mouse events to it.
Mouse down/up and click seem to work as expected, but I can't seem to
catch an event where the eventargs e.Delta would be nonzero (i.e. I
would detect that the user has scrolled the mouse wheel)
How is this done?
thanks,
AW
_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list