This documentation is archived and is not being maintained.

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 Platform SDK.

See Also

CListCtrl Overview | Class Members | Hierarchy Chart | CListCtrl::GetInsertMark | CListCtrl::SetInsertMark

Show: