Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Task Tray Icon

Posted on 1998-12-14
3
Medium Priority
?
228 Views
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.
0
Comment
Question by:gwaltersii
[X]
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
3 Comments
 
LVL 1

Expert Comment

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

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.
0
 
LVL 2

Accepted Solution

by:
dm_14 earned 400 total points
ID: 1450123
goto this site :
http://www.mvps.org/vbnet/code/shell/shellnotifybasic.htm

It has an excellent explanation and well commented code.
0
 

Author Comment

by:gwaltersii
ID: 1450124
perfect! Just what I needed.

Thanks!
GWalters
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

604 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