Hi!!! I create my own custom control and everything is perfect except this event. I don't understand it. When i add my custom control to Window Form i add MouseDoubleClick event to this control. And when i start Application and try to double click on it is nothing happen. I'm not very sure but i think i need to create my own MouseDoubleClick event on my custom control and i try to do that but the result is same. How can i fix this problem !!! Thanks in advance! And i apology for my bad English!!!
destruct0
7
Junior Poster in Training
Recommended Answers
Jump to PostI have found that the controls you add to your UserControl capture the mouse and do not pass the clicks on to the base control.
You need to capture each of the child control click and double click events and pass them on.
This code snippet shows how …
All 4 Replies
nick.crane
342
Veteran Poster
destruct0
7
Junior Poster in Training
destruct0
7
Junior Poster in Training
acheo
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.