Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

ListView_SetWorkAreas

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This macro sets the working area within a list-view control. You can use this macro or send the LVM_SETWORKAREAS message explicitly.


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

Handle to a list-view control.

nWorkAreas

Specifies 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.

prc

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.

The return value for this macro is not used.

HeaderPcommctrl.h
Windows Embedded CEWindows CE .NET 4.2 and later
Windows MobileWindows Mobile Version 5.0 and later
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.