TTM_ADDTOOL message

Registers a tool with a tooltip control.

Parameters

wParam

Must be zero.

lParam

Pointer to a TOOLINFO structure containing information that the tooltip control needs to display text for the tool. The cbSize member of this structure must be filled in before sending this message.

Return value

Returns TRUE if successful, or FALSE otherwise.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h
Unicode and ANSI names
TTM_ADDTOOLW (Unicode) and TTM_ADDTOOLA (ANSI)

See also

Reference

TTM_DELTOOL

Conceptual

About Tooltip Controls