Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This message retrieves the working areas from a list-view control. You can send this message explicitly by calling the SendMessagefunction or by using the ListView_GetWorkAreasmacro.

Syntax

LVM_GETWORKAREAS
  wParam = (WPARAM) (int) 
nWorkAreas;
  lParam = (LPARAM) (LPRECT) 
lprc; 

Parameters

nWorkAreas

Specifies the number of RECTstructures in the array at lprc.

lprc

Pointer to an array of RECTstructures that receive the current working areas of the list-view control. Values in these structures are in client coordinates.

Return Value

The return value for this message is not used.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE .NET 4.2 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also