This documentation is archived and is not being maintained.
Visual Studio .NET 2003
Changes the width of a column in report view or list view.
BOOL SetColumnWidth( int nCol, int cx );
- Index of the column whose width is to be set. In list view, this parameter must be -1.
- The new width of the column. Can be either LVSCW_AUTOSIZE or LVSCW_AUTOSIZE_USEHEADER, as described in LVM_SETCOLUMNWIDTH in the Platform SDK.
Nonzero if successful; otherwise zero.