Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


Sets the column order (left to right) of a list view control.

BOOL SetColumnOrderArray( 
   int iCount, 
   LPINT piArray  


A pointer to a buffer containing the index values of the columns in the list view control (from left to right). The buffer must be large enough to contain the total number of columns in the list view control.


Number of columns in the list view control.

Nonzero if successful; otherwise zero.

This member function implements the behavior of the Win32 macro, ListView_SetColumnOrderArray, as described in the Windows SDK.

Header: afxcmn.h

© 2015 Microsoft