Upravit

Sdílet prostřednictvím


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

BOOL ListView_GetNumberOfWorkAreas(
   HWND   hwnd,
   LPUINT 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

Type: BOOL

The return value for this macro is not used.

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