Partager via


TTM_ENUMTOOLS (Compact 2013)

3/28/2014

This message retrieves the information that a ToolTip control maintains about the current tool; that is, the tool for which the ToolTip is currently displaying text.

Syntax

TTM_ENUMTOOLS wParam = (WPARAM) (UINT) iTool;
    lParam = (LPARAM) (LPTOOLINFO) lpti;

Parameters

  • iTool
    Unsigned integer that specifies the zero-based index of the tool for which you want to retrieve information.
  • lpti
    Pointer to a TOOLINFO structure that receives information about the tool. Before you send this message, you must specify the size of this structure in the cbSize member.

Return Value

TRUE indicates that information was retrieved for the tool. FALSE indicates failure.

Requirements

Header

commctrl.h

See Also

Reference

ToolTips Messages
TOOLINFO