<snip> If the container is in a form, you could place clearing code in the form's queryunload event, and in the release method, but for a toolbar I can't think of any events that run dependably after the mouse leaves the toolbar area.
The container is a form in this case. I have the _datanavbtns class on the form with four navigation buttons. I call cancelhighlight() in the MouseMove event for the container for the buttons as well as in the MouseMove event for form and (now) the detroy event for the form. Seems like something shouls catch it!
TIA,
Phil Thomas
http://phillipdthomas.comNever let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....