ToolTips Messages (Compact 2013)

3/28/2014

The following table shows the ToolTips messages, with a description of the purpose of each.

Programming element

Description

TTM_ACTIVATE

This message activates or deactivates a ToolTip.

TTM_ADDTOOL

This message registers a tool with a ToolTip control.

TTM_DELTOOL

This message removes a tool from a ToolTip control.

TTM_ENUMTOOLS

This message retrieves the information that a ToolTip control maintains about the current tool; that is, the tool for which the ToolTip is currently displaying text.

TTM_GETCURRENTTOOL

This message retrieves the information for the current tool in a ToolTip control.

TTM_GETDELAYTIME

This message retrieves the initial, pop-up, and reshow durations currently set for a ToolTip control.

TTM_GETMARGIN

This message retrieves the top, left, bottom, and right margins set for a ToolTip window.

TTM_GETMAXTIPWIDTH

This message retrieves the maximum width for a ToolTip window.

TTM_GETTEXT

This message retrieves the information that a ToolTip control maintains about a tool.

TTM_GETTIPBKCOLOR

This message retrieves the background color in a ToolTip window.

TTM_GETTIPTEXTCOLOR

This message retrieves the text color in a ToolTip window.

TTM_GETTOOLCOUNT

This message retrieves the number of tools maintained by a ToolTip control.

TTM_GETTOOLINFO

This message retrieves the information that a ToolTip control maintains about a tool.

TTM_HITTEST

This message tests a point to determine whether the point is within the bounding rectangle of a specified tool and, if the point is within the rectangle, retrieves information about the tool.

TTM_NEWTOOLRECT

This message sets a new bounding rectangle for a tool.

TTM_POP

This message removes a displayed ToolTip window from view.

TTM_RELAYEVENT

This message sends a mouse message to a ToolTip control for processing.

TTM_SETDELAYTIME

This message sets the initial, pop-up, and reshow durations for a ToolTip control.

TTM_SETMARGIN

This message sets the top, left, bottom, and right margins for a ToolTip window.

TTM_SETMAXTIPWIDTH

This message sets the maximum width for a ToolTip window.

TTM_SETTIPBKCOLOR

This message sets the background color for a ToolTip window.

TTM_SETTIPTEXTCOLOR

This message sets the text color for a ToolTip window.

TTM_SETTOOLINFO

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

TTM_TRACKACTIVATE

This message activates or deactivates a tracking ToolTip.

TTM_TRACKPOSITION

This message sets the position of a tracking ToolTip.

TTM_UPDATETIPTEXT

This message sets the ToolTip text for a tool.

TTM_WINDOWFROMPOINT

This message allows an application to display ToolTip text for a window other than the one beneath the mouse cursor.

See Also

Reference

ToolTips Reference