Partager via


TTM_ADDTOOL (Compact 2013)

3/28/2014

This message registers a tool with a ToolTip control.

Syntax

TTM_ADDTOOL wParam = 0;
    lParam = (LPARAM) (LPTOOLINFO) lpti;

Parameters

  • wParam
    Not used. Set to 0.
  • lpti
    Pointer to a TOOLINFO structure that specifies the information that the ToolTip control uses to display text for the tool. Set the value of the cbSize member of the TOOLINFO structure before you sent this message.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header

commctrl.h

See Also

Reference

ToolTips Messages
TOOLINFO