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?
I've been using Mutex Handles. Is there a better way to do this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Love it. Works great and with only one line of code. Thanks!
http://www.gnomehome.demon.nl/uddf/pages/api.htm#api0
Eps.