SB_SETTIPTEXT message

Sets the tooltip text for a part in a status bar. The status bar must have been created with the SBT_TOOLTIPS style to enable tooltips.

Parameters

wParam

Zero-based index of the part that will receive the tooltip text.

lParam

Pointer to a character buffer that contains the new tooltip text.

Return value

The return value is not used.

Remarks

This tooltip text is displayed in two situations:

  • When the corresponding pane in the status bar contains only an icon.
  • When the corresponding pane in the status bar contains text that is truncated due to the size of the pane.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h
Unicode and ANSI names
SB_SETTIPTEXTW (Unicode) and SB_SETTIPTEXTA (ANSI)