I have asked this question before. Thanks Eric and other guys of you that provide the
solution to achieve this. I have tried it and it really shows the icon in the systray.
But I have a question:
I compile my project with this systray icon tool to an execution file. But when I run it,
the main Visual FoxPro is still appeared, although the systray icon has been shown. I
have included a command _screen.Hide. But the result will be the application quits.
I have found a DLL, systray.dll that can really hide Visual FoxPro window the systray
icon is appeared. But there is something that does not meet my requirement: When I left
or right click the systray icon, the Visual FoxPro screen is appeared.
What my requirement is: the application should be always hidden and the systray icon
appears. When I right-click the systray icon, a menu appears that can let user to choose.
Does anyone have any ideas or suggestion?