Export (0) Print
Expand All
Expand Minimize

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 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft