I'm useing the addres of procedure to get mouseeents from the wondows systemtray in a Tray icon ocx I'm making. Is there some way i can tell my activeX to unload when the stop button is pushed in vb so that the subclassing doesn't crash vb or some other way I can get the mouse events from the tray that won't crash vb when stop is pressed. I mean that make the control pretty unusable to anyone but me......

------------------
SomeTimes Coffee Just Isn't Enough.
Zan Magi