HitTestResult

Description

The HitTestResult enumeration contains the component areas, in which the point that is passed as a parameter of the methods is located.

It is used by the following properties and methods:

Available Values

Value Brief description
1 Nowhere. In the client area but lower than the last component.
2 OnItemIcon. Element icon.
4 OnItemLabel. Element text.
8 OnItemIndent. In the indent before the element connected with hierarchical structure of the tree of elements.
16 OnItemButton. Button of collapsing/expanding of the element hierarchy.
32 OnItemRight. In the client area, to the right of the element.
64 OnItemStateIcon. Element state icon.
256 Above. Above the client area of a component.
512 Below. Below the client area of a component.
1024 ToRight. To the right of the client area of a component.
2048 ToLeft. To the left of the client area of a component.

See also:

Forms Assembly Enumerations