Solved

Need Feeback: Displaying SortIcon in ListView Header and Column Width

Posted on 2004-10-07
5
154 Views
Last Modified: 2010-04-15
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.
0
Comment
Question by:nauman_ahmed
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 18

Expert Comment

by:armoghan
ID: 12256320
0
 
LVL 25

Author Comment

by:nauman_ahmed
ID: 12258470
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
 
LVL 18

Expert Comment

by:armoghan
ID: 12295366
Dont know about that.
0
 
LVL 10

Accepted Solution

by:
ptmcomp earned 500 total points
ID: 12331902
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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question