Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

ListView_GetWorkAreas macro

Gets the working areas from a list-view control. You can use this macro, or send the LVM_GETWORKAREAS message explicitly.

Syntax


void ListView_GetWorkAreas(
   HWND   hwndLV,
   INT    nWorkAreas,
   LPRECT lprc
);

Parameters

hwndLV

Type: HWND

A handle to the list-view control.

nWorkAreas

Type: INT

The number of RECT structures in the array at lprc.

lprc

Type: LPRECT

A pointer to an array of RECT structures that receive the working areas of the list-view control. Values in these structures are in client coordinates. nWorkAreas specifies the number of structures in this array.

Return value

This macro does not return a value.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

See also

Using List-View Controls

 

 

Community Additions

ADD
Show:
© 2015 Microsoft