Task Tray Icon

Posted on 1998-12-14
Last Modified: 2010-05-03
I want to place and icon in the task tray while my app is running and use the click, doubleclick, and mouseover events to invoke procedures in my app. Does anyone know how this can be done? Any code would be appreciated.
Question by:gwaltersii
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

Expert Comment

ID: 1450122
Some ActiveX controls are available at  I have used a control by name "ActiveX System Tray Icon v1.1".

Use API function "Shell_NotifyIcon".  The problem in VB is that this function uses a structure NOTIFYICON.  If u can work out with this structure use this function.  Else creare a OCX control in VC++, using this function.

Accepted Solution

dm_14 earned 100 total points
ID: 1450123
goto this site :

It has an excellent explanation and well commented code.

Author Comment

ID: 1450124
perfect! Just what I needed.


Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

724 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