Window.ShowBalloonTrayTip Method | |
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.19
Syntax VIRTUAL METHOD ShowBalloonTrayTip(
oTrayIcon,
dwID,
sHeading,
sToolTip,
dwTimeOut,
dwInfo
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual ShowBalloonTrayTip(
Usual oTrayIcon = default,
Usual dwID = default,
Usual sHeading = default,
Usual sToolTip = default,
Usual dwTimeOut = default,
Usual dwInfo = default
)
Request Example
View SourceParameters
- 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:
Constant | Description |
---|
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:
UsualThe result of the call to Shell_NotifyIcon() (see the WIN32 API)
See Also