constants HitTestInfoEnum
The HitTestInfoEnum expression defines the hit area within a cell. Use the ItemFromPoint property to determine the hit test code within the cell.

NameValueDescription
exHTCell0 In the cell's client area.
exHTExpandButton1 In the +/- button associated with a cell.
exHTCellIndent2 In the indentation associated with a cell.
exHTCellInside4 On the icon, picture, check or caption associated with a cell.
exHTCellCaption20 In the caption associated with a cell.
exHTCellCheck36 In the check/radio button associated with a cell.
exHTCellIcon68 In first icon associated with a cell.
exHTCellPicture132 In a picture associated to a cell.
exHTCellCaptionIcon1044 In the icon's area inside the cell's caption.
exHTBottomHalf2048 (HEXA 800) The cursor is in the bottom half of the row. If this flag is not set, the cursor is in the top half of the row. This is an OR combination with the rest of predefined values. For instance, you can check if the cursor is in the bottom half of the row using HitTestCode AND 0x800
exHTBetween4096 (HEXA 1000) The cursor is between two rows. This is an OR combination with the rest of predefined values. For instance, you can check if the cursor is between two items using HitTestCode AND 0x1000