System tray

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.

Who is Participating?
thresher_sharkConnect With a Mentor Commented:
Hi Phillip.

lama - Okay, thanks.
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.
lamaAuthor Commented:
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.
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...
lamaAuthor Commented:
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?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.