IUIX_List::HitTest Method

From PDF XChange PDF SDK
Jump to: navigation, search


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.

See Also

IUIX_List