TSNAIcon

Encapsulates taskbar notification icon.

Description

Use TSNAIcon to maintain icon in the status notification area. To make it available, set Visible property to True. To use it for application minimization, set MinimizeTo to property to True.

OS Support

Windows 95/98/NT
Windows ME/2000
Windows XP

Properties

DblClicks Double-click mouse buttons. Associated popup menu will wait until not double-clicked.
DblToRestore Double-click to restore application from. (See MinimizeTo.)
DesignPreview Preview (and test) in design mode.
Enabled Processing of input events.
GUID It's global identifier.
Hidden Overriding of Visible, not affecting resources.
Icon It's graphic image.
Images Set of icon images used.
ImageIndex Index number of currently selected icon image in the set.
InfoBalloon Balloon InfoTip for the icon.
Icon Appears at left of Title. Can be one of three standard types, or the same as notify icon.
Text Limited to 255 characters.
Timeout Number of seconds of showing when user appear to be using the computer.
Title Limited to 63 characters.
Sound The associated sound is playing when appears.
Set other properties before setting the Text property to make effect on showing. See also SetTo method.
LPopupMenu Another popup menu to be used with left mouse button.
MinimizeTo Is container for the minimized application. To restore application, click icon or use RestoreFrom method. Note, that if LPopupMenu is specified, the click is exclusively used for it. For such cases, see DblToRestore property.
PopupMenu Standard popup menu.
Shared Is the source of a shared icon. Must be Visible.
Title Standard ToolTip for icon.
Visible The icon is in the system notification area.

Methods

BeginUpdate Standard.
EndUpdate Standard.
InfoBalloon.SetTo Sets new balloon InfoTip.
RestoreFrom Restores the application from, when it minimised to. (See MinimizeTo.)
SetFocus Sets the input focus to the icon.
Timer Sets the timer. Use Timer for delayed and cycle operations on object. The ID parameter is a timer identifier, and the Elapse parameter is a time, that elapses each time before OnTimer event occurs. To kill timer, pass -1 in Elapse.

Events

OnBalloonClick User clicked (but not closed) the balloon.
OnBalloonDismiss Balloon is finished it's showing.
OnBalloonHide Balloon is disappeared when it is no more maintained.
OnBalloonShow Balloon is shown. (Balloons are queued.)
OnClick Standard.
OnContextPopup Standard.
OnDblClick Standard.
OnKeySelect The icon is selected using keyboard.
OnMinimizeTo The application is minimized to. (See MinimizeTo.)
OnMouseDown Standard.
OnMouseMove Standard.
OnMouseUp Standard.
OnSelect The icon is selected by mouse.
OnTimer Time, specified using Timer method, is elapsed.

 

Copyright (c) 2006 eCat