CListCtrl::GetInsertMark

Retrieves the current position of the insertion mark.

BOOL GetInsertMark( 
   LPLVINSERTMARK lvim  
) const;

Parameters

  • lvim
    A pointer to an LVINSERTMARK structure containing the information for the insert mark.

Return Value

Returns TRUE if successful, or FALSE otherwise. FALSE is returned if the size in the cbSize member of the LVINSERTMARK structure does not equal the actual size of the structure.

Remarks

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

Requirements

Header: afxcmn.h

See Also

Reference

CListCtrl Class