VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



TaskTray v2.0

by Christopher (Heenix) Lord (1 Submission)
Category: Miscellaneous
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (7 Votes)

Easily manage an icon in the task tray using a simple class packed full of features that you could ever want in the task tray. You can add, remove, animate, modify, display balloon tips and even tooltips.
This version comes with bug fixes, more error handling and a new demo interface that you will all like! I would like to say a big thanks to Tom Pydeski for pointing out a key bug in the class.
With this demo interface you can add and remove your icon, change the tooltip and even display balloon tips from the icon being displayed. You can also set it up to tell you when events have occured and, best of all, you can even see an example tray icon animation!
This application also shows the best bits of OO programming.

Inputs
This class only requires a form handle to initialize but it can take inputs of an icon and tooltip to setup the icon properly.
Assumes
This program asumes you are using an operating systen that supports balloon tips and I am aware this will not work on windows 95 or earlier.
Side Effects
There may be one side effect that has not been tested properly. Since the class uses some MultiCasting it may be possible that certain X values passed to the MouseMove function may be left over messages to the TrayIcon class.
API Declarations
Private Declare Function Shell_NotifyIconW Lib "shell32.dll" (ByVal dwMessage As Long, lpData As NOTIFYICONDATAW) As Long

Rate TaskTray v2.0

Download TaskTray v2.0

Download TaskTray v2.0 (9 KB)

TaskTray v2.0 Comments

No comments have been posted about TaskTray v2.0. Why not be the first to post a comment about TaskTray v2.0.

Post your comment

Subject:
Message:
0/1000 characters