TTM_GETCURRENTTOOL
A version of this page is also available for
4/8/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 |
Windows Mobile | Windows Mobile Version 5.0 and later |