TTM_SETTOOLINFO (Windows CE 5.0)

Send Feedback

This message sets the information that a ToolTip control maintains for a tool.

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 Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Commctrl.h.

See Also

TTM_GETTOOLINFO | TOOLINFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.