kasdoffe
Well-known member
- Joined
- Aug 27, 2003
- Messages
- 57
Im trying to check if my application is already running in the system tray and if it is then bring it back to focus when I try to start a 2nd instance of my application.
However, through some testing it appears that an application that is minimized to the system tray and not shown in the taskbar has no MainWindowHandle that can be used through an API to bring focus back to it? The MainWindowHandle of the process is 0.
How can I bring focus back to the already running, minimized-to-tray application?
However, through some testing it appears that an application that is minimized to the system tray and not shown in the taskbar has no MainWindowHandle that can be used through an API to bring focus back to it? The MainWindowHandle of the process is 0.
How can I bring focus back to the already running, minimized-to-tray application?