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 sets the working areas within a list-view control. You can send this message explicitly by calling the SendMessagefunction or by using the ListView_SetWorkAreasmacro.
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 RECTstructures 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 |