Share via


TTM_GETCURRENTTOOL (Windows Embedded CE 6.0)

1/6/2010

This message retrieves the information for the current tool in a ToolTip control.

Syntax

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

Parameters

  • wParam
    Not used. Set to 0.
  • lpti
    Pointer to a TOOLINFO structure that receives information about the current tool. If this value is NULL, the return value indicates the existence of the current tool without actually retrieving the tool information. If this value is not NULL, set the cbSize member of the TOOLINFO structure before you send this message.

Return Value

If lpti is non-NULL, a nonzero return value indicates success and 0 indicates failure. If lpti is NULL, a nonzero return value indicates that a current tool exists and 0 indicates that no current tool exists.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

ToolTips Messages
TOOLINFO