FILE: SYSTRAY.EXE: ActiveX Control Adds Icons to Status AreaLast reviewed: November 24, 1997Article ID: Q177095 |
The information in this article applies to:
SUMMARYSYSTRAY.EXE is an ActiveX control written in Visual Basic that demonstrates how to add icons to the status area of the taskbar and also processes callback messages for taskbar icons. Using the new Visual Basic 5.0 AddressOf function, the callback messages are received and processed in a module that is registered as a callback function in a Win32 API call. The Visual Basic project for this control can be downloaded from the Visual Basic Owner's site at the following URL: Only registered users of Visual Basic can access this site.
MORE INFORMATIONIn Visual Basic version 4.0, manipulating the status area of the taskbar required the use a Visual Basic intrinsic control to serve as a Window that reacts to the callback message. Using an intrinsic control in this fashion was a way to work around the inability version 4.0 to work with pointers. This method is documented in the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q162613 TITLE : HOWTO: Manipulate Icons in the System Tray with Visual BasicVisual Basic 5.0, however, has the ability to work with pointers, so you don't need to use an intrinsic control to add icons to the status area of the taskbar. Additionally, the control contains properties and mouse events, such as MouseMove, MouseDown, MouseUp, MouseDblClick, to make the control more useful by specifying when the icon appears, where the ToolTip text will be, and the icon image.
|
Additional query words: system tray
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |