ListView_GetColumnWidth

The ListView_GetColumnWidth macro retrieves the width of a column in report or list view. You can use this macro or explicitly send the LVM_GETCOLUMNWIDTH message.

int ListView_GetColumnWidth(

HWND hwnd,  
int iCol  
);  

Parameters

hwnd

Handle to the list view control.

iCol

Index of the column. This parameter is ignored in list view.

Return Values

Returns the column width if successful or zero otherwise.

See Also

LVM_GETCOLUMNWIDTH