System tray

Posted on 1998-11-28
Medium Priority
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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 msdn.microsoft.com/msj (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 400 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

741 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