Contents Index Topic Contents | ||
Previous Topic: ListView_GetWorkAreas Next Topic: ListView_InsertColumn |
ListView_HitTest
int ListView_HitTest( HWND hwnd, LPLVHITTESTINFO pinfo );Determines which list view item, if any, is at a specified position. You can use this macro or send the LVM_HITTEST message explicitly.
- Returns the index of the item at the specified position, if any, or -1 otherwise.
- hwnd
- Handle to the list view control.
- pinfo
- Address of an LVHITTESTINFO structure that contains the position to hit test and receives information about the results of the hit test.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.