PRB: Column 0 of ListView Control Is Always Left- Aligned (193679)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0

This article was previously published under Q193679

SYMPTOMS

When you are in using a ListView control in report mode, the column with an index value of 0 is always left-aligned. This happens even if the column is added with the LVCFMT_RIGHT or LVCFMT_CENTER styles. Any column inserted at index 0 loses its alignment style and is left-aligned.

STATUS

This behavior is by design. The first column in a report mode ListView control (index 0) is always left-aligned.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbCtrl kbListView kbprb KB193679