TTM_GETCURRENTTOOL message

Retrieves the information for the current tool in a tooltip control.

Parameters

wParam
Must be zero.
lParam

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, the cbSize member of the TOOLINFO structure must be filled in before sending this message.

Return value

Returns nonzero if successful, or zero otherwise. If lParam is NULL, returns nonzero if a current tool exists, or zero otherwise.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

Unicode and ANSI names

TTM_GETCURRENTTOOLW (Unicode) and TTM_GETCURRENTTOOLA (ANSI)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft