Sign in to follow this  
Followers 0
jennico

ListView question

4 posts in this topic

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

j.


Spoiler

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

 

Share this post


Link to post
Share on other sites



nobody, as always ?


Spoiler

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

 

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

good luck try PM-ing gafrost with this question he knows a lot about listviews.

EDIT: It's GaryFrost not gafrost

Edited by DBak

[center][/center]

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  
Followers 0