Jump to content

Recommended Posts

Posted

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

 

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]

Posted

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"

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...