Hi

I'm creating a small utility which will run out of the notify bar. If the user clicks the notify icon it displays a form in the bottom right hand corner - this works perfectly. However I would like to listen for if the user clicks on another program (say Excel), the program will detect its lost focus and will minimise the form.

I've tried form_LostFocus but that doesnt seem to work

Any thoughts please?

Thanks
Jay