Ask child controls ignore received event and let its parent to process it.

  • Thread starter Thread starter zlf
  • Start date Start date
Z

zlf

Hello,
I'm developping an UserControl, filled with child controls on it. I want to
make the UserControl to display a message when user db-click on any place on
it, but it seems now, all of those db-click events are hold by its child
controls, what should I do to ask child controls ignore received events and
pass them to its parent to process it.

Thanks

zlf
 
You cannot completely bypass the double-clicking on child controls since
they are actually present on the usercontrol
You can try handling the DoubleClick event of the child controls and then
call some method of the user control in the handler.

---------
- G Himangi, Sky Software http://www.ssware.com
Shell MegaPack : GUI Controls For Drop-In Windows Explorer like Shell
Browsing Functionality For Your App (.Net & ActiveX Editions).
EZNamespaceExtensions.Net : Develop namespace extensions rapidly in .Net
EZShellExtensions.Net : Develop all shell extensions,explorer bars and BHOs
rapidly in .Net
 
Back
Top