ListView_GetInsertMarkRect
TOC
Collapse the table of content
Expand the table of content

ListView_GetInsertMarkRect macro

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 prc
);

Parameters

hwnd

Type: HWND

A handle to the list-view control.

prc

Type: LPRECT

A pointer to a RECT structure that contains the coordinates of a rectangle that bounds the insertion point.

Return value

Returns one of the following values.

Return codeDescription
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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show:
© 2016 Microsoft