The information in this article applies to:
SUMMARYThe documentation for the LVCOLUMN structure used by the ListView common control indicates that you can use the fmt member of the LVCOLUMN structure to set the justification of a column in the ListView control. This article shows you how to determine the value of the justification of a column in the ListView control. MORE INFORMATIONBefore you check the value of the fmt member of the LVCOLUMN structure, the value of this member must be bitwise "anded" with the flag LVCFMT_JUSTIFYMASK, which is defined in Commctrl.h. For example, the following code shows you how to determine whether the second column in a list view is right, center, or left justified:
© Microsoft Corporation 1999, All Rights Reserved. Additional query words: justify CListView CListCtrl
Keywords : kbCtrl kbVC400 kbVC410 kbVC420 kbVC500 kbVC600 |
Last Reviewed: July 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |