I am working on a WinForm application. It has to run as single instance and support Systray icon mode when minimized. I limited the second instance by scanning Process.GetProcessesByName. The problem is when the previous instance exists and its main form
is minimized to systray (in fact it is hidden and notifyIcon is shown). I cannot show the form with ShowWindow to process' MainWindowHandle - the window is not shown. It seems that .Net Form's window has additional properties in addition to classic
Win32 window. Is there some trick to do this? Thanks in advance.
View Complete Post