次の方法で共有


TTM_GETCURRENTTOOL (Compact 2013)

3/28/2014

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

See Also

Reference

ToolTips Messages
TOOLINFO