Click or drag to resize

Window.ShowBalloonTrayTip Method

X#
Display a balloon tip for an icon in the tray that is associated with this window.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD ShowBalloonTrayTip(
	oTrayIcon,
	dwID,
	sHeading,
	sToolTip,
	dwTimeOut,
	dwInfo
) AS USUAL CLIPPER
Request Example View Source

Parameters

oTrayIcon (Optional)
Type: Usual
The icon to be displayed in the tray.
dwID (Optional)
Type: Usual
The unique ID of the icon (between 1 and 8000).
sHeading (Optional)
Type: Usual
The heading to be displayed in the balloon. This title appears in boldface above the text. It can have a maximum of 63 characters.
sToolTip (Optional)
Type: Usual
The text to be displayed in the balloon. In Shell version 5 and above, the maximum size is 128 charecters. Below Shell version 5, the maximum is 64 charecters.
dwTimeOut (Optional)
Type: Usual
The length of time to display the balloon before it is removed if it is not dismissed by the user. The system enforces minimum and maximum timeout values. dwTimeout values that are too large are set to the maximum value and values that are too small default to the minimum value. This is set in milliseconds.
dwInfo (Optional)
Type: Usual
Flags that can be set to add an icon to a balloon ToolTip. Valid values are:
ConstantDescription
NIIF_ERROR An error icon.
NIIF_INFO An information icon.
NIIF_NONE No icon.
NIIF_WARNING A warning icon.
NIIF_NOSOUND Do not play the associated sound.

Return Value

Type: Usual
The result of the call to Shell_NotifyIcon() (see the WIN32 API)
See Also