ListView_GetNumberOfWorkAreas macro (commctrl.h)

Gets the number of working areas in a list-view control. You can use this macro or send the LVM_GETNUMBEROFWORKAREAS message explicitly.

Syntax

void ListView_GetNumberOfWorkAreas(
   hwnd,
   pnWorkAreas
);

Parameters

hwnd

Type: HWND

A handle to the list-view control.

pnWorkAreas

Type: LPUINT

A pointer to a UINT value that receives the number of working areas in the list-view control. If zero is placed in this variable, then no working areas are currently set. This value cannot be NULL.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h

See also

Using List-View Controls