Rediger

Del via


SB_GETTIPTEXT message

Retrieves the tooltip text for a part in a status bar. The status bar must be created with the SBT_TOOLTIPS style to enable tooltips.

Parameters

wParam

The LOWORD specifies the zero-based index of the part that receives the tooltip text. The HIWORD specifies the size of the buffer at lParam, in characters.

lParam

Pointer to a character buffer that receives the tooltip text.

Return value

The return value is not used.

Remarks

Security Warning: Using this message incorrectly can cause problems for your application. For example, if the text is too large for the lParam buffer, it could cause a buffer overflow. You should review the Security Considerations: Microsoft Windows Controls before continuing.

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_GETTIPTEXTW (Unicode) and SB_GETTIPTEXTA (ANSI)