LVM_GETVIEWRECT message

Retrieves the bounding rectangle of all items in the list-view control. The list view must be in icon or small icon view. You can send this message explicitly or by using the ListView_GetViewRect macro.

Parameters

wParam

Must be zero.

lParam

Pointer to a RECT structure that receives the bounding rectangle. All coordinates are relative to the visible area of the list-view control.

Return value

Returns TRUE if successful, or FALSE otherwise.

Requirements

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