ListView_SetColumnListView_SetColumn*
*Contents  *Index  *Topic Contents
*Previous Topic: ListView_SetCallbackMask
*Next Topic: ListView_SetColumnOrderArray

ListView_SetColumn


BOOL ListView_SetColumn(
    HWND hwnd, 		
    int iCol, 		
    LPLVCOLUMN pcol		
);		

Sets the attributes of a list view column. You can use this macro or send the LVM_SETCOLUMN message explicitly.

hwnd
Handle to the list view control.
iCol
Index of the column.
pcol
Address of an LVCOLUMN structure that contains the new column attributes. The mask member specifies which column attributes to set.
If the mask member specifies the LVCF_TEXT value, the pszText member is the address of a null-terminated string and the cchTextMax member is ignored.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.