ListView_GetWorkAreas macro (commctrl.h)
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 hwnd,
INT nWorkAreas,
LPRECT prc
);
Parameters
hwnd
Type: HWND
A handle to the list-view control.
nWorkAreas
Type: INT
The number of RECT structures in the array at prc.
prc
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
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 |