The information in this article applies to:
SUMMARY
Systray.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.
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: Q162613 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. © Microsoft Corporation 1999, All Rights Reserved. Additional query words: system tray
Keywords : kbVBp500 |
Last Reviewed: November 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |