Can System.Windows.Forms.ColumnHeader use a different Image then one from the main ImageList?

I have a ListView set up for sorting and it works well for me.

However, when the ListView is sorted, no information about the current sorting and ordering column is provided.

I tried a solution setting the ColumnHeader.ImageKey property when sorting, but I want to be able to use images that are not the size specified in the ListView's SmallImageList.

Is there a way to do this without using OwnerDraw mode?

+1


a source to share


1 answer


I don't think you can do this without OwnerDraw. However, OwnerDraw isn't as bad as you might think. There are many examples from CodeProject.com ; like this and this



+1


a source







All Articles