System tray

Posted on 1998-11-28
Last Modified: 2013-11-20
I would like to create an icon in the system tray for my application.  There are obviously many programs out there that do this, so it couldn't be that difficult.  Can someone provide some information on creating a tray icon?  I would like the icon to be able to be clicked and then my program would pop up.

Question by:lama
  • 2
  • 2

Expert Comment

ID: 1325444
Go to:

It provides an excellent explanation so there is no need in copying it here.  If you do have any questions regarding how to implement it, please feel free to ask.

Author Comment

ID: 1325445
Hello, can you please submit your comment as an answer as that has solved my problem?  Plus, the codeguru web site appears to be a great resource.  It should help me in my efforts to learn MFC.

Expert Comment

ID: 1325446
There's also a full article on System Tray icons available at (just search for it).  A complete article was written by the folks at MSJ with good documentation.


p.s.  Hi Thresh...

Accepted Solution

thresher_shark earned 100 total points
ID: 1325447
Hi Phillip.

lama - Okay, thanks.

Author Comment

ID: 1325448
Thank you threshershark.

psdavis, the web address you gave me gives the "HTTP Error 404
404 Not Found

The Web server cannot find the file or script you asked for. Please check the URL to ensure that the path is correct.

Please contact the server's administrator if this problem persists."

message.  Ideas?

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Rewrite URL With Encoded Characters 6 75
Strange date stored 22 106
Error on moodle after upgrade 3 123
changeXy challenge 13 69
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now