ListView_SetWorkAreas macro (commctrl.h)
Sets the working areas within a list-view control. You can use this macro or send the LVM_SETWORKAREAS message explicitly.
void ListView_SetWorkAreas( hwnd, nWorkAreas, prc );
A handle to a list-view control.
The number of RECT structures in the array at lprc. The maximum number of working areas allowed is defined by the LV_MAX_WORKAREAS value.
A 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, the working area will be set to the client area of the control. nWorkAreas specifies the number of structures in this array.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|