CListCtrl::SetInsertMark

Sets the insertion point to the defined position.

BOOL SetInsertMark( 
   LPLVINSERTMARK lvim  
);

Parameters

  • lvim
    A pointer to an LVINSERTMARK structure specifying where to set the insertion point.

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, or when an insertion point does not apply in the current view.

Remarks

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

Requirements

Header: afxcmn.h

See Also

Reference

CListCtrl Class