IUIX_List::HitTest Method
From PDF XChange PDF SDK
Gets the list item by the given point.
Syntax
HRESULT HitTest([in] POINT* stPos, [out] LONG* nItem, [out] LONG* nColumn, [out] LONG* nGroup, [out] LONG* nItemHT);
Parameters
- stPos
- [in] Pointer to POINT containing the position that needs to be checked.
- nItem
- [out] Pointer to LONG containing the resulting item index.
- nColumn
- [out] Pointer to LONG containing the column that item belongs to.
- nGroup
- [out] Pointer to LONG containing the group that item belongs to.
- nItemHT
- [out] Pointer to LONG containing the list item HT flags.
Return Value
Returns S_OK if operation was successful or error code in other cases.