Jump to content
aa2zz6

System Tray still registers program after ProcessClose()

Recommended Posts

aa2zz6

I am using ProcessClose() to close an application that run daily at midnight but I noticed in the system tray that we had 20+ icons of the same application.  Is this normal and does it affect the computer in anyway?

Share this post


Link to post
Share on other sites
Jos
17 minutes ago, aa2zz6 said:

Is this normal and does it affect the computer in anyway?

Yes that is normal windows behavior since you Kill the Process in stead of telling it to stop. 
The _RefreshSystemTray() UDF is indeed the way to clean up the systray.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×