Link to home
Start Free TrialLog in
Avatar of d32coder
d32coder

asked on

Preventing another instance in systray

I have an app that resides in systray.  The common code I find for preventing another instance of my app works well when my app is on the taskbar but when in the systray, it forces a taskbar icon at the same time.  Maximizing the taskbar icon produces an invisible window and the systray icon is still present.  
I've been using Mutex Handles.  Is there a better way to do this?
Avatar of Epsylon
Epsylon

On this page you can see how to do that:

http://www.gnomehome.demon.nl/uddf/pages/api.htm#api0

Eps.
ASKER CERTIFIED SOLUTION
Avatar of Madshi
Madshi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of d32coder

ASKER

Love it.  Works great and with only one line of code.  Thanks!