Prev Next

LVM_GETITEMRECT Overview  Group

The LVM_GETITEMRECT message retrieves the bounding rectangle for all or part of an item in the current view. You can send this message explicitly or by using the ListView_GetItemRect macro.

LVM_GETITEMRECT 

wParam = (WPARAM) (int) i; 

lParam = (LPARAM) (LPRECT) prc; 

 

Parameters

i
Index of the list view item.
prc
Pointer to a RECT structure that receives the bounding rectangle. When the message is sent, the left member of this structure contains the value of the code parameter.

Return Values

Returns TRUE if successful or FALSE otherwise.

Remarks

This parameter is specified by the left member of the RECT structure pointed to by prc.

See Also

ListView_GetItemRect, RECT