WD BalloonTip ou Popup Clock Windows
CODE:
nMsgType is int
// Depending on the message type, configure the constant for the message type of the BalloonTip
SWITCH COMBO_MSGTYPE
CASE 1
nMsgType = sysTooltipTypeInfo
CASE 2
nMsgType = sysTooltipTypeWarning
CASE 3
nMsgType = sysTooltipTypeError
CASE 4
nMsgType = sysTooltipTypeDefault
END
// Adds the icon into the systray if it was not already added
IF gbAddedIcon = False THEN
gbAddedIcon = SysIconAdd("")
END
// Displays the BalloonTip with the selected settings
SysIconDisplayTooltip(EDT_TEXT, EDT_TITLE, nMsgType)
// The sysTooltipTypeCustom constant allows you to customize the icon:
// SysIconDisplayTooltip(EDT_TEXT, EDT_TITLE, sysTooltipTypeCustom, "mycustomicon16x16.ico")