Fist column text align in Listview

O

Ofer B.

Hi

Is it possible to set the text alignment of the first column in a listview
to center ot right?

I can set the alignment of all the other columns, just not the first one
(the left column).

thanks
Ofer
 
M

Maarten Struys, eMVP

Setting text alignment works for every but the most left column. A possible
workaround (at least working if you are using detail view only) would be to
create a left most column with width 0 and show your all your data as
individual ListView.SubItems.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top