ToolTip Control (MSAA UI Element Reference)

Note

This topic describes ToolTip Control objects for purposes of MSAA UI Element Reference. How to create ToolTip Control objects in various UI frameworks is not described here. See the API reference documentation for the UI framework you're using.

A tooltip control displays a small pop-up window that contains a line of text that describes the purpose of a tool, represented as a graphical object, in an application.

The window class name for a tooltip is TOOLTIPS_CLASS, which is defined as "tooltips_class" in Commctrl.h.

IAccessible Methods

A tooltip control supports the following IAccessible methods:

IAccessible Properties

A tooltip control supports the following IAccessible properties:

Property Comments
get_accChildCount The ChildCount property is zero.
get_accFocus
get_accName The Name property is the text contained in the tooltip control.
get_accParent The Parent property is a window ( ROLE_SYSTEM_WINDOW ) that surrounds the control and has the same Name property and window class name as the control.
get_accRole The Role property is ROLE_SYSTEM_TOOLTIP.
get_accState The State property is a combination of one or more of the following values: STATE_SYSTEM_INVISIBLE | STATE_SYSTEM_UNAVAILABLE | STATE_SYSTEM_FOCUSED | STATE_SYSTEM_FOCUSABLE

IAccessible Interface