Microsoft KB Archive/193679

{|
 * width="100%"|

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

 * }

Q193679

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK)

-

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.

Additional query words:

Keywords : kbCtrl kbListView kbOSWin2000 kbSDKPlatform kbSDKWin32 kbGrpDSUser kbOSWin

Issue type : kbprb

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch