TTM_GETBUBBLESIZE message

Returns the width and height of a tooltip control.

Parameters

wParam

Must be zero.

lParam

Pointer to the tooltip TOOLINFO structure.

Return value

Returns the width of the tooltip in the low word and the height in the high word if successful. Otherwise, it returns FALSE.

Remarks

If the TTF_TRACK and TTF_ABSOLUTE flags are set in the uFlags member of the tooltip TOOLINFO structure, this message can be used to help position the tooltip accurately.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h