Stomper
asked on
How Do I Hide Application on Startup
I am making an application that sits in the System Tray, and I was wondering how I
make the program hide itself on startup so that all the user sees when they run it is the icon
in the system tray?
make the program hide itself on startup so that all the user sees when they run it is the icon
in the system tray?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi Igor,
I'm a robot. ;-)
Well to tell you the thruth, I just copied it from my previous answer handling the same thing.....
How do you do?
Regards, ZiF.
I'm a robot. ;-)
Well to tell you the thruth, I just copied it from my previous answer handling the same thing.....
How do you do?
Regards, ZiF.
ASKER
I'm just looking to make the main form hide on startup so that when the program is run the
only thing that is visible on startup is the system tray icon.
only thing that is visible on startup is the system tray icon.
Then just use the procedures :
Hide (to hide the form)
And Show (to bring it back).
Regards, Zif.
Hide (to hide the form)
And Show (to bring it back).
Regards, Zif.
What's about
StartUpInfo.wShowWindow := SW_HIDE
StartUpInfo.wShowWindow := SW_HIDE
OR
you may want to remove app from task bar
ShowWindow(Application.Han dle,SW_HID E)
you may want to remove app from task bar
ShowWindow(Application.Han
Igor