How to use the System Tray directly from Visual Basic (176085)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Control Creation Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
This article was previously published under Q176085 SUMMARY This article demonstrates how to take full advantage of the
Windows System Tray, or Taskbar Notification Area, using Visual Basic. It
places an icon of your choice into the Taskbar Notification Area that will
display a ToolTip of your choice when the mouse is rested over it, will restore
the application when clicked, and will display a popup menu when right-clicked.
This is all possible because of Visual Basic's ability to directly handle
callbacks, therefore taking full advantage of the Shell_NotifyIcon function
that is exported by Shell32.dll. REFERENCES
For more information regarding using the System Tray or using the Taskbar Notification Area from Visual Basic 4.0 or earlier, click the following article number to view the article in the Microsoft Knowledge Base:
149276
How to use icons with the Windows 95/98/Me Taskbar Notification Area
Modification Type: | Minor | Last Reviewed: | 9/29/2006 |
---|
Keywords: | kbBug kbhowto KB176085 |
---|
|