The parent user control can subscribe to the enter and leave events of all
it's children to keep the icon visible.

Signature
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting
http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
>I have a UserControl that has other controls in it such as an icon and a
>couple of text boxes.
[quoted text clipped - 16 lines]
>
> Tony
Tony - 08 Jul 2007 17:29 GMT
Hadn't thought of that. I will just have to walk the child control tree to
hook all the MouseEnter and MouseLeave events.
This will probably save me hours of putsing around with this issue.
Thanks,
Tony
> The parent user control can subscribe to the enter and leave events of all
> it's children to keep the icon visible.
[quoted text clipped - 19 lines]
>>
>> Tony