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.
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 icon associated with a cell.
exHTCellPicture132 In a picture associated to a cell.
exHTCellCaptionIcon1044 In the icon's area inside the cell's caption. Use the <img> HTML tag to insert icons inside the cell's caption, when the CaptionFormat property is exHTML.
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 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