CListCtrl::GetViewRect

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

BOOL GetViewRect( 
   LPRECT lpRect  
) const;

lpRect

Address of a RECT structure.

Nonzero if successful; otherwise zero.

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

Header: afxcmn.h

Show: