Partager via


2.2.1.3.2.2.3 Notification Icon Balloon Tooltip (TS_NOTIFY_ICON_INFOTIP)

The TS_NOTIFY_ICON_INFOTIP structure specifies the balloon tooltip of a notification icon.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Timeout

InfoFlags

InfoTipText (variable)

...

Title (variable)

...

Timeout (4 bytes): An unsigned 32-bit integer. The timeout in milliseconds for the notification icon’s balloon tooltip. After the specified timeout, the tooltip SHOULD be destroyed. <11>

InfoFlags (4 bytes): An unsigned 32-bit integer. The flags that can be set to add an icon to a balloon tooltip. It is placed to the left of the title. If the InfoTipText field length is zero-length, the icon is not shown.

Value

Meaning

NIIF_NONE

0x00000000

Do not show an icon.

NIIF_INFO

0x00000001

Show an informational icon next to the balloon tooltip text.

NIIF_WARNING

0x00000002

Show a warning icon next to the balloon tooltip text.

NIIF_ERROR

0x00000003

Show an error icon next to the balloon tooltip text.

NIIF_NOSOUND

0x00000010

Do not play an associated sound.

NIIF_LARGE_ICON

0x00000020

Show the large version of the icon.

InfoTipText (variable): Variable length. A UNICODE_STRING specifying the text of the balloon tooltip. The maximum length of the tooltip text string is 510 bytes.

Title (variable): Variable length. A UNICODE_STRING specifying the title of the balloon tooltip. The maximum length of the tooltip title string is 126 bytes.