This documentation is archived and is not being maintained.

CListCtrl::GetViewRect 

Retrieves the bounding rectangle of all items in the list view control.


BOOL GetViewRect(
   LPRECT lpRect 
) const;

Parameters

lpRect

Address of a RECT structure.

Nonzero if successful; otherwise zero.

The list view must be in icon view or small icon view.

Show: