473,320 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

how to add an item in the system tray?

I want to add an item to the system tray when my application is minimized.
How to do this? Can anyone give me some reference or idea? Thanks a lot!
Nov 17 '05 #1
4 2041
On Tue, 12 Apr 2005 01:08:21 +0800, ywchan wrote:
I want to add an item to the system tray when my application is minimized.
How to do this? Can anyone give me some reference or idea? Thanks a lot!


http://www.codeproject.com/csharp/trayiconmenu01.asp
http://www.codeproject.com/csharp/sy...notifyicon.asp

and other articles on www.codeproject.com

--
Claudio Grazioli
http://www.grazioli.ch
Nov 17 '05 #2
Hi,

Try NotyIcon component, here is an example:

// You should replace the bold icon in the sample below
// with an icon of your own choosing.
notifyIcon1.Icon =
new System.Drawing.Icon (System.Environment.GetFolderPath
(System.Environment.SpecialFolder.Personal)
+ @"\Icon.ico");
notifyIcon1.Visible = true;
notifyIcon1.Text = "Antivirus program";

"ywchan" wrote:
I want to add an item to the system tray when my application is minimized.
How to do this? Can anyone give me some reference or idea? Thanks a lot!

Nov 17 '05 #3
thanks!

"Salvador" <Sa******@discussions.microsoft.com> wrote in message
news:E2**********************************@microsof t.com...
Hi,

Try NotyIcon component, here is an example:

// You should replace the bold icon in the sample below
// with an icon of your own choosing.
notifyIcon1.Icon =
new System.Drawing.Icon (System.Environment.GetFolderPath
(System.Environment.SpecialFolder.Personal)
+ @"\Icon.ico");
notifyIcon1.Visible = true;
notifyIcon1.Text = "Antivirus program";

"ywchan" wrote:
I want to add an item to the system tray when my application is minimized. How to do this? Can anyone give me some reference or idea? Thanks a lot!

Nov 17 '05 #4
thanks a lot!

"Claudio Grazioli" <ne********@gmx-ist-cool.de> wrote in message
news:1a*******************************@40tude.net. ..
On Tue, 12 Apr 2005 01:08:21 +0800, ywchan wrote:
I want to add an item to the system tray when my application is minimized. How to do this? Can anyone give me some reference or idea? Thanks a lot!


http://www.codeproject.com/csharp/trayiconmenu01.asp
http://www.codeproject.com/csharp/sy...notifyicon.asp

and other articles on www.codeproject.com

--
Claudio Grazioli
http://www.grazioli.ch

Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: balu | last post by:
Hello , I Had a problem in developing a application for getting a message over or above system tray . When we first logon into the yahoo messenger , whenever a new user logon ,The messenger...
3
by: Nicolas Poirier | last post by:
I successfully made a system tray application. When I do shut down the computer, how does the computer can instruct my application to shut down? For the moment, if I don't quit my application,...
0
by: Derrick | last post by:
Hello all; I seem to have encountered a strange problem. I have a context menu attached to a system tray icon (NotifyIcon) of a Windows App. Based on user actions, I want to change the text of...
4
by: Tom | last post by:
Hello, System tray icon informs users that the apps is running in the background. However, there are instances that the app might crash and after that the app icon in the system tray is still...
5
by: scottt | last post by:
I asked a question along a similar line about a week ago and didn't get any replies. Let me try to ask the quetion again a little bit different to see if I can get some help on this problem. Is...
2
by: ericlangland | last post by:
Hi, I have a small managed code application (windows forms) that executes on startup and immidiatly minimizes to the system tray. It launches and shows the form when I double click it's small...
3
by: Patrick Dugan | last post by:
I am using VS2005 (vb) and I have a program that starts when Windows boots up. Occasionally the icon that should appear in the system tray does not show up. The program is still running in memory...
3
by: Usman Jamil | last post by:
Hi I've a windows application that does a lengthy backup process. While the process is going on, I need to show a progress bar inside system tray or just above the system tray. Can someone...
22
by: rottmanj | last post by:
I am working on an app that I need to minimize/close to the system tray. More or less I have the minimize to the system tray working, save caveat. When it is minimized the application still...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.