Freigeben über


CListCtrl::InsertMarkHitTest

Retrieves the insertion point closest to a specified point.

int InsertMarkHitTest( 
   LPPOINT pPoint, 
   LPLVINSERTMARK lvim  
) const;

Parameters

  • pPoint
    A pointer to a POINT structure that contains the hit test coordinates, relative to the client area of the list control.

  • lvim
    A pointer to an LVINSERTMARK structure that specifies the insertion point closest to the coordinates defined by the point parameter.

Return Value

The insertion point closest to the specified point.

Remarks

This member function emulates the functionality of the LVM_INSERTMARKHITTEST message, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Reference

CListCtrl Class

Hierarchy Chart

CListCtrl::GetInsertMark

CListCtrl::SetInsertMark