Solved

Handling the mouse wheel event

Posted on 2009-07-08
1
312 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

759 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

20 Experts available now in Live!

Get 1:1 Help Now