The TTM_ADDTOOL message registers a tool with a tooltip control.
TTM_ADDTOOL
wParam = 0;
lParam = (LPARAM) (LPTOOLINFO) lpti;
Parameters
lpti
Pointer to a TOOLINFO structure containing information that the tooltip control needs to display text for the tool. Before sending this message, you must set the cbSize member of this structure to sizeof(TOOLINFO).
Return Values
Returns TRUE if successful or FALSE otherwise.
See Also