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 macro retrieves the current left-to-right order of columns in a list-view control.
Syntax
BOOL ListView_GetColumnOrderArray( HWND hwndLV, int iCount, int* lpiArray ); |
Parameters
- hwndLV
-
Handle to a list-view control.
- iCount
-
Number of columns in the list-view control.
- lpiArray
-
Long pointer to a buffer that will receive the index values of the columns in the list-view control. The buffer must be large enough to hold the total number of columns * sizeof(int).
Return Value
Returns nonzero and the buffer at lpiArrayreceives the column index of each column in the control, in the order they appear from left to right if successful. Otherwise, the return value is zero.
Remarks
Related message: LVM_GETCOLUMNORDERARRAY
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |