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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Strange date stored 22 155
ffmpeg - "rtsp://...... Operation not permitted" 4 86
fizzArray  challenge 1 96
fizzArray2 challenge 1 91
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

832 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