Share via


ListView_GetWorkAreas (Compact 2013)

3/28/2014

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

Syntax

#define ListView_GetWorkAreas(hwnd, nWorkAreas, prc) \
  (BOOL)SNDMSG((hwnd), LVM_GETWORKAREAS, (WPARAM)(int)nWorkAreas, \
  (LPARAM)(RECT FAR*)(prc))

Parameters

  • hwnd
    Handle to the list-view control.
  • nWorkAreas
    Specifies the number of RECT structures in the array at lprc.
  • prc
    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.

Return Value

The return value for this macro is not used.

Requirements

Header

Pcommctrl.h

See Also

Reference

List-View Controls Macros
LVM_GETWORKAREAS
RECT