LVM_GETVIEWRECT  2NE4T4_ 

The 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_GetViewRect2_89ZK1 macro.

LVM_GETVIEWRECT

wParam = 0;

lParam = (LPARAM) (RECT FAR *) prc;

 

Parameters

prc

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

 

Return Values

Returns TRUE if successful or FALSE otherwise.

See Also

ListView_GetViewRect, RECT