How to minimize (a console window) to Systray (not Taskbar)?

P

Pia Stevens

A program opened at start a console window.

How can I automatically minimized this window to Systray (not Taskbar)?

Pia
 
C

Ciaran O''Donnell

If this is your app then the need to handle the WindowsState changing and set
ShowInTaskBar = false
and create a notifyicon object and handle the click event on that to show
the window again. Not entirely sure whether this is possible for a console
app though.

If this isnt you app but just a console app then you cant really do it in
plain .net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top