Skip to main content
GameDev.net gamedev.net
🔒 Locked

[.net] Mouse Wheel

Started by Cacks Oct 7, 2006 at 12:35 PM 0 replies 500+ views
Original Post
Cacks
Cacks
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
Scet
Scet
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++)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.