TTM_GETCURRENTTOOL (Windows CE 5.0)

Send Feedback

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

TTM_GETCURRENTTOOLwParam= 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 Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Commctrl.h.

See Also

TOOLINFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.