LVM_SETWORKAREAS (Compact 2013)

3/28/2014

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

See Also

Reference

List-View Controls Messages
SendMessage
ListView_SetWorkAreas
RECT