Retrieves the information a tooltip control maintains about a tool.
- The number of TCHARs, including the terminating NULL, to copy to the buffer pointed to by lpszText.
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.
No return value.
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.
Minimum supported client
|Windows 2000 Professional [desktop apps only]|
Minimum supported server
|Windows 2000 Server [desktop apps only]|
Unicode and ANSI names
|TTM_GETTEXTW (Unicode) and TTM_GETTEXTA (ANSI)|