Contents Index Topic Contents | ||
Previous Topic: ListView_GetColumnOrderArray Next Topic: ListView_GetCountPerPage |
ListView_GetColumnWidth
int ListView_GetColumnWidth( HWND hwnd, int iCol );Retrieves the width of a column in report or list view. You can use this macro or send the LVM_GETCOLUMNWIDTH message explicitly.
- Returns the column width if successful, or zero otherwise. If this macro is used on a list view control with the LVS_REPORT style and the specified column doesn't exist, the return value is undefined.
- hwnd
- Handle to the list view control.
- iCol
- Index of the column. This parameter is ignored in list view.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.