The information in this article applies to:
SYMPTOMSSending a list view control an LVM_SETCOLUMNWIDTH message where the new width is set to LVSCW_AUTOSIZE or LVSCW_AUTOSIZE_USEHEADER will not work as expected for column 0 in report mode if an indent value is specified for any item. CAUSEThe LVSCW_AUTOSIZE and LVSCW_AUTOSIZE_USEHEADER both are used to calculate the width of a column header based on either the header test and item text length. On COMMCTL32.DLL versions 4.70 and 4.72, the indent is not included in this calculation. RESOLUTIONThis has been fixed as of 5.80 of COMCTL32.dll. For versions prior to 5.80 the width of the column must be set by specifying a width in the lParam of the LVM_SETCOLUMNWIDTH message. MORE INFORMATIONFor more information on obtaining the latest version of COMCTL32.dll refer to the following Knowledge Base article: Q186176 Redistribution of COMCTL32.DLL REFERENCES
For additional information, please see the following article in the Microsoft Knowledge Base: Q186176 Redistribution of COMCTL32.DLL Additional query words:
Keywords : kbListView kbNTOS400 kbGrpUser kbWinOS95 kbWinOS98 kbDSupport |
Last Reviewed: January 3, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |