By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,320 Members | 2,228 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,320 IT Pros & Developers. It's quick & easy.

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

P: n/a
A program opened at start a console window.

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

Pia

Jun 27 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
--
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com
"Pia Stevens" wrote:
A program opened at start a console window.

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

Pia

Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.