IUIX_List::HitTest Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_List::HitTest Method}} | {{#customTitle:IUIX_List::HitTest Method}} | ||
− | {{#parentPage:PXV:IUIX_List|method | + | {{#parentPage:PXV:IUIX_List#Methods|HitTest|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Gets the list item by the given point. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT HitTest([in] POINT* | + | <pre class="brush:cpp;gutter:false">HRESULT HitTest([in] POINT* stPos, |
+ | [out] LONG* nItem, | ||
+ | [out] LONG* nColumn, | ||
+ | [out] LONG* nGroup, | ||
+ | [out] LONG* nItemHT);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;stPos |
− | :[in] Pointer to POINT. | + | :[in] Pointer to POINT containing the position that needs to be checked. |
− | ; | + | ;nItem |
− | :[out] Pointer to LONG. | + | :[out] Pointer to LONG containing the resulting item index. |
− | ; | + | ;nColumn |
− | :[out] Pointer to LONG. | + | :[out] Pointer to LONG containing the column that item belongs to. |
− | ; | + | ;nGroup |
− | :[out] Pointer to LONG. | + | :[out] Pointer to LONG containing the group that item belongs to. |
− | ; | + | ;nItemHT |
− | :[out] Pointer to LONG. | + | :[out] Pointer to LONG containing the [[PXV:UIX_ListItemHTFlags|list item HT flags]]. |
== Return Value == | == Return Value == | ||
Line 26: | Line 30: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IUIX_List|IUIX_List]] |
Latest revision as of 06:41, 28 June 2016
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.