PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Displays a tooltip for an icon found in the taskbar. This icon must have been added into the taskbar by SysIconAdd.
Note: From Windows 10, the tooltip is displayed as a new notification by the notification center integrated into Windows.
Example
// Informs that the process has ended
SysIconDisplayTooltip("The process is ended.")
// Display a warning with a click procedure
SysIconDisplayTooltip("The process is quite long. " + ...
"Click the tooltip to see the details of operations.", ...
sysTooltipTypeWarning, "", ProcedureDetails)
Syntax
<Result> = SysIconDisplayTooltip(<Message> [, <Title> [, <Type> [, <Icon> [, <Procedure>]]]])
<Result>: Boolean
  • True if the tooltip was displayed,
  • False otherwise.
<Message>: Character string (with quotes)
Text displayed in the tooltip (up to 255 characters).
<Title>: Optional character string (with quotes)
Title of the tooltip (up to 63 characters).
<Type>: Optional Integer constant
Type of the tooltip :
sysTooltipTypeWarningWarning tooltip. A warning icon is displayed in the tooltip (yellow panel).
sysTooltipTypeDefault
(Default value)
Tooltip displayed by default (which means the tooltip defined by SysIconAdd).
sysTooltipTypeErrorError tooltip. An error icon is displayed in the tooltip (white cross on red background).
sysTooltipTypeInfoInfo tooltip. An information icon is displayed in the tooltip (white "i" on blue background).
sysTooltipTypeCustomCustom tooltip: the <Icon> parameter is used to define the icon displayed in the tooltip.
<Icon>: Optional character string (with quotes)
Icon (16x16) displayed in the tooltip if <Type> is set to sysTooltipTypeCustom.
Corresponds to:
  • the name and full (or relative) path of the icon file to add. A UNC path is allowed.
  • the name of an Icon variable.
This parameter corresponds to an empty string ("") by default.
<Procedure>: Optional character string (with or without quotes)
WLanguage procedure that will be called during the click on the tooltip (procedure without parameter). This parameter is taken into account from Windows XP.
Remarks
During a click on the tooltip, the tooltip is closed.
Component : wd240std.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment