ListView_GetInsertMarkRect macro (commctrl.h)

Gets the rectangle that bounds the insertion point. You can use this macro or send the LVM_GETINSERTMARKRECT message explicitly.

Syntax

int ListView_GetInsertMarkRect(
   HWND   hwnd,
   LPRECT rc
);

Parameters

hwnd

Type: HWND

A handle to the list-view control.

rc

Type: LPRECT

RECT

Return value

Type: int

Returns one of the following values:

Return code Description
0 No insertion point found.
1 Insertion point found.

Remarks

To use ListView_GetInsertMarkRect, specify Comctl32.dll version 6 in the manifest. For more information on manifests, see Enabling Visual Styles.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h