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

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
 
G

G Himangi

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top