ListView_GetItemPosition
TOC
Collapse the table of content
Expand the table of content

ListView_GetItemPosition macro

Gets the position of a list-view item. You can use this macro or explicitly send the LVM_GETITEMPOSITION message.

Syntax


BOOL ListView_GetItemPosition(
   HWND  hwnd,
   int   i,
   POINT *ppt
);

Parameters

hwnd

Type: HWND

A handle to the list-view control.

i

Type: int

The index of the list-view item.

ppt

Type: POINT*

A pointer to a POINT structure that receives the position of the item's upper-left corner, in view coordinates.

Return value

Returns TRUE if successful, or FALSE otherwise.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show:
© 2016 Microsoft