Jump to content
Sign in to follow this  

ListView question

Recommended Posts

hello world,

is it possible to manipulate a column (not a row) in a listview ?

e.g. highlighting the column, changing background or font color of the column, displaying a border, incl. header ?

i just want a certain column to be displayed differently to the others in any possible way.

thank you



I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.OixB7.jpgDon't forget this IP:


Share this post

Link to post
Share on other sites

Yea, how dare we, give you no answer in 4 hours! :)

Proper textbook method would be to draw the listview yourself. Yes, you'd have to draw whole of it, to make this change you want. It's not as bad as it may sound though. Read MSDN or search forum for "ownerdrawn" listview, may find some ready examples. I think I posted one somewhere some time ago (or maybe it was for listbox/treeview... still, it would be very reuseful, with only some changes necessary).

"be smart, drink your wine"

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...