Hide Windows Application in System Tray?
-
I want to hide my Windows Application in System Tray on minimizing. How can I do that? The user may be able to maximize the Application on clicking the icon in System tray. Please give me suggestion of how to do that?
Thanks, Sandeep S. Sekhon
-
I want to hide my Windows Application in System Tray on minimizing. How can I do that? The user may be able to maximize the Application on clicking the icon in System tray. Please give me suggestion of how to do that?
Thanks, Sandeep S. Sekhon
Some threads below you find a description how to capture the minimizing of your form. Then you only need to call
Form.Hide
, setForm.ShowInTaskBar
false
and callShow
of aNotifyIcon
component dropped on your form at design time. To show your app again register to theNotifyIcon.Click
event and reverse the steps described above.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook