TTM_SETTOOLINFO (Windows Embedded CE 6.0)
1/6/2010
This message sets the information that a ToolTip control maintains for a tool.
Syntax
TTM_SETTOOLINFO wParam = 0;
lParam = (LPARAM) (LPTOOLINFO) lpti;
Parameters
- wParam
Not used. Set to 0.
- lpti
Pointer to a TOOLINFO structure that specifies the information to set. You must set the cbSize member of this structure before you send this message.
Return Value
None.
Remarks
Some internal properties of a tool are established when you create the tool and are not recomputed when you send a TTM_SETTOOLINFO message. If you simply assign values to a TOOLINFO structure and pass that structure to the ToolTip control in a TTM_SETTOOLINFO message, these values can be lost. Instead, your application should first request the current TOOLINFO structure for the tool by sending the ToolTip control a TTM_GETTOOLINFO message. Then, modify the members of the current TOOLINFO structure as needed and pass that structure back to the ToolTip control with TTM_SETTOOLINFO.
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |