My working environment: C#, .NET 4 and VS2012
I have a problem with an app. It runs by showing a NotifyIcon in the system tray. When users simply click on the icon, it pops up a new Window and shows important information.
Under normal circumstances users simply click on the icon and it brings up the new Window. However, we are looking to implement an alternative Windows shell that will not have a system tray area, and hence the app will have no NotifyIcon on which to click!
I've already tested when running the alternative shell. If I use WinSpy I can see the process running (with the same two listed Windows under it), even though there is no system tray.
I need to create an app to address this problem. Is there a way to connect to the process and simulate the user clicking on the app's system tray NotifyIcon, which should then cause the new Window to pop up...even while inside the alternative shell (which does not even have a system tray!?)
Or does anyone have an alternative solution?