Knowledge Base

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

Article ID: 193679

Article Last Modified on 7/11/2005


APPLIES TO


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.

Keywords: kblistview kbprb kbctrl KB193679