Udostępnij za pośrednictwem


CListCtrl::GetWorkAreas

Retrieves the current working areas of a list view control.

void GetWorkAreas( 
   int nWorkAreas, 
   LPRECT prc  
) const;

Parameters

  • nWorkAreas
    The number of RECT structures contained in the prc array.

  • prc
    A pointer to an array of RECT structures (or CRect objects) that receive the working areas of the list view control. Values in these structures are in client coordinates.

Remarks

This member function implements the behavior of the Win32 macro, ListView_GetWorkAreas, as described in the Windows SDK.

Example

See the example for CListCtrl::GetNumberOfWorkAreas.

Requirements

Header: afxcmn.h

See Also

Reference

CListCtrl Class

Hierarchy Chart

CListCtrl::GetNumberOfWorkAreas

Other Resources

CListCtrl Members