Поделиться через


CListCtrl::GetWorkAreas

Retrieves the current working areas of a list view control.

void GetWorkAreas(
   int nWorkAreas,
   LPRECT prc 
) const;

Параметры

  • 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.

Заметки

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

Пример

See the example for CListCtrl::GetNumberOfWorkAreas.

Требования

Header: afxcmn.h

См. также

Основные понятия

CListCtrl Class

CListCtrl Members

Hierarchy Chart

CListCtrl::GetNumberOfWorkAreas