Export (0) Print
Expand All

TTM_GETTEXT message

Retrieves the information a tooltip control maintains about a tool.

Parameters

wParam
The number of TCHARs, including the terminating NULL, to copy to the buffer pointed to by lpszText.
lParam

Pointer to a TOOLINFO structure. Set the cbSize member of this structure to sizeof(TOOLINFO) before sending this message. Set the hwnd and uId members to identify the tool for which to retrieve information. Allocate a buffer of size specified by wParam. Set the lpszText member to point to the buffer to receive the tool text.

Return value

No return value.

Remarks

Microsoft Windows XP and earlier: The value of wParam must be zero. There is no way to determine the required buffer size.

Security Warning:  For Windows XP and earlier, using this message might compromise the security of your program. This message does not provide a way for the message receiver to know the size of the buffer or to specify the size of the buffer. You should review the Security Considerations: Microsoft Windows Controls before continuing.

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_GETTEXTW (Unicode) and TTM_GETTEXTA (ANSI)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft