Help Center

CListView.GetInsertMarkmethod

Gets the position of the insertion point.

WindowsmethodCListView.incdocumented

Syntax

FUNCTION GetInsertMark (BYVAL hListView AS HWND, BYVAL pvim AS LVINSERTMARK PTR) AS BOOLEAN
FUNCTION GetInsertMark (BYVAL hListView AS HWND, BYREF vim AS LVINSERTMARK) AS BOOLEAN
FUNCTION GetInsertMark (BYVAL hListView AS HWND) AS LVINSERTMARK

Parameters

NameDescription
hListViewHandle to the ListView control.
pvimPointer to a LVINSERTMARK structure that receives the position of the insertion point.
vimA LVINSERTMARK structure that receives the position of the insertion point.

Return value

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

Description

Gets the position of the insertion point.

Remarks

To use this method, you must provide a manifest specifying Comclt32.dll version 6.0.

Reference

  • Include file CListView.inc
  • Defined in AfxNova/CListView.inc:690
  • Documented in Windows/WIndows Controls/CListView Class.md
  • Topic: CListView Class