>>I have added the systray.vcx from the VFP samples to my form. It works great unless I expand the form past a certain size. Then the IconClickEvent, where I have my code, no longer fires. I am not using any menus. If the form is expanded past the point where the icon is on the task bar it stops working. If I drag the form to the left of the icon it works.
>
>Hi John,
>
>Can you repro the problem with the form from VFP Solution samples?
Sergey,
I now realize that I got carried away with the icon click thing. I was trying to close the window if the user clicked on the icon in the systray. I just changed it so minimize does a window.hide(). Thanks for your help. It works wonderfully now.
ps. See my new thread on closing the app on shutdown.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn