M
Mark Smith
I have an app that minimizes itself to the system tray. It's also
single instance; when a second instance is started, it just activates
the first one and quits.
When the first instance isn't in the system tray, I can use
ShowWindowAsync() via interop to bring it to the front. When it's
minimzed to the system tray, nothing seems to restore it back to a
window. I've tried all the obvious variations of SW_SHOW, SW_RESTORE,
etc. Has anyone gotten this to work?
single instance; when a second instance is started, it just activates
the first one and quits.
When the first instance isn't in the system tray, I can use
ShowWindowAsync() via interop to bring it to the front. When it's
minimzed to the system tray, nothing seems to restore it back to a
window. I've tried all the obvious variations of SW_SHOW, SW_RESTORE,
etc. Has anyone gotten this to work?