PyCListCtrl.HitTest
(int, int, int) = HitTest(x,y)
Determines which list view item, if any, is at a specified position.
Parameters
Return Value
The result is a tuple of (flags, item, subItem). flags may be a combination of the following values:
Value | Description |
commctrl.LVHT_ABOVE | The position is above the control's client area. |
commctrl.LVHT_BELOW | The position is below the control's client area. |
commctrl.LVHT_NOWHERE | The position is inside the list view control's client window, but it is not over a list item. |
commctrl.LVHT_ONITEMICON | The position is over a list view item's icon. |
commctrl.LVHT_ONITEMLABEL | The position is over a list view item's text. |
commctrl.LVHT_ONITEMSTATEICON | The position is over the state image of a list view item. |
commctrl.LVHT_TOLEFT | The position is to the left of the list view control's client area. |
commctrl.LVHT_TORIGHT | The position is to the right of the list view control's client area. |