Solved

Handling the mouse wheel event

Posted on 2009-07-08
1
313 Views
Last Modified: 2012-05-07
Hi,

I've got a custom component that is using a panel and I'm handling a mouse wheel event, although I'm not getting any response at all?

Thanks,
Uni
...

	MouseWheel+=new MouseEventHandler(MyComponent_MouseWheel);

...

 

private void MyComponent_MouseWheel(object sender, System.Windows.Forms.MouseEventArgs e){

	Debug.WriteLine("A");

}

Open in new window

0
Comment
Question by:Unimatrix_001
1 Comment
 
LVL 3

Accepted Solution

by:
Unimatrix_001 earned 0 total points
ID: 24804837
Got it working - seems you have to programatically select() the component, as opposed to just clicking it. :S
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now