Need Feeback: Displaying SortIcon in ListView Header and Column Width

hi,

Please read the following post:

http://www.experts-exchange.com/Programming/Programming_Languages/C_Sharp/Q_20678830.html

I have posted that last year and this year I have to do the same thing. The only thing that I need help with is when I click on the column header and display the sort icon, the column width changes. Is there any way that the column width remain constant when I add or remove the sort icon from the column header?

Thanks, Nauman.
LVL 25
nauman_ahmedAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
ptmcompConnect With a Mentor Commented:
I did not test it but does it change anything if you set
 hd.mask = HDI_IMAGE;
instead of
 hd.mask = HDI_IMAGE |  HDI_FORMAT;


0
 
armoghanCommented:
0
 
nauman_ahmedAuthor Commented:
armoghan,

I have already seen this article but the approach the cocojohn has posted in the post mentioned in the question is more convenient. I just want that the size of the litview columns remain constant.

Thanks, Nauman.
0
 
armoghanCommented:
Dont know about that.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.