
UserControl's Parent's BackColor Change?
How do I detect when the UserControl's Parent's BackColor Changes? I Have a
user-drawn control that has a transparent background. When the background
is transparent, I paint the parents backcolor behind an icon. But when you
are in design time and you change the parent's backcolor, the backcolor of
the square of the usercontrol doesn't change. I thought it would fire the
UserControl's AmbientChanged event, but it doesn't. Any ideas?
To see exactly what I'm talking about, try it with my control:
www.cs.utexas.edu/users/gglaze/vbcontrl/popup.zip
Thanks.
-GMG