O
\(O\)enone
I'm trying to create a usercontrol that is transparent, both visibly and to
mouse clicks.
I can make the usercontrol visibly transparent by setting the
SupportsTransparentBackColor style and providing some additional processing
in CreateParams and OnPaintBackground, as detailed here:
http://www.codeproject.com/KB/edit/TransparentTextBox.aspx
This works fine, but if I click the transparent part of my control, the
mouse click is still received by my usercontrol instead of by the control
that is behind it. Is there a way to make clicks fall through the
transparent parts of the control to whatever is underneath?
Thanks,
mouse clicks.
I can make the usercontrol visibly transparent by setting the
SupportsTransparentBackColor style and providing some additional processing
in CreateParams and OnPaintBackground, as detailed here:
http://www.codeproject.com/KB/edit/TransparentTextBox.aspx
This works fine, but if I click the transparent part of my control, the
mouse click is still received by my usercontrol instead of by the control
that is behind it. Is there a way to make clicks fall through the
transparent parts of the control to whatever is underneath?
Thanks,