[.net] Mouse Wheel

Started by
0 comments, last by Scet 17 years, 6 months ago
Hi guys, I can't get the mouse wheel to work at all with a panel I have. My method is: private: System::Void hRenderingPanel_MouseClick(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) { if(e->Delta != 0) pCamera->TranslateZ(e->Delta); } Does any1 know what I might be doing wrong? Im not getting any values for Delta at all. Thanks!
Reject the basic asumption of civialisation especially the importance of material possessions
Advertisement
What events in the panel are calling this function? You probably want either MouseMove or MouseWheel.

(thise are C# names, I'm assuming WinForms uses the same names with C++)

This topic is closed to new replies.

Advertisement