Contents Index Topic Contents | ||
Previous Topic: ListView_SortItems Next Topic: ListView_Update |
ListView_SubItemHitTest
INT ListView_SubItemHitTest( HWND hwndLV, LPLVHITTESTINFO pInfo );Determines which list view item or subitem is located at a given position. You can use this macro or send the LVM_SUBITEMHITTEST message explicitly.
- Returns the index of the item or subitem tested, if any, or -1 otherwise. If an item or subitem is at the given coordinates, the fields of the LVHITTESTINFO structure will be filled with the applicable hit information.
- hwndLV
- Handle to the list view control that will be hit-tested.
- pInfo
- Address of an LVHITTESTINFO structure. The POINT structure within LVHITTESTINFO must be set to the client coordinates to be hit-tested.
Version 4.70
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.