Share via


LVM_SETWORKAREAS

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message sets the working areas within a list-view control. You can send this message explicitly by calling the SendMessage function or by using the ListView_SetWorkAreas macro.

Syntax

LVM_SETWORKAREAS
  wParam = (WPARAM) (INT) nWorkAreas;
  lParam = (LPARAM) (LPRECT) lprc;

Parameters

  • nWorkAreas
    Specifies the number of structures in the array at lprc. The maximum number of working areas allowed is defined by the LV_MAX_WORKAREAS value.
  • lprc
    Pointer to an array of RECT structures that contain the new working areas of the list-view control. Values in these structures are in client coordinates. If this parameter is NULL, there will be no work areas.

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

Reference

List-View Controls Messages
SendMessage
ListView_SetWorkAreas
RECT
List-View Controls Messages