R
ralphsieminsky
A form has a background image. On that
form there is a button. Partially overlapping
that button is a class derived from Control,
with only one customization: it makes its background
transparent in the constructor, using this technique:
http://msdn2.microsoft.com/library/wk5b13s4.aspx
BringToFront was called on the transparent
control.
What one can see in the region where the
transparent control and the button overlap
is the background image of the form.
Why isn't the part of the button overlapped
by the transparent control shown instead of
the background image ?
Thanks,
Ralph
form there is a button. Partially overlapping
that button is a class derived from Control,
with only one customization: it makes its background
transparent in the constructor, using this technique:
http://msdn2.microsoft.com/library/wk5b13s4.aspx
BringToFront was called on the transparent
control.
What one can see in the region where the
transparent control and the button overlap
is the background image of the form.
Why isn't the part of the button overlapped
by the transparent control shown instead of
the background image ?
Thanks,
Ralph