ListView_HitTestListView_HitTest*
*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.

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.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.