Solved

Need Feeback: Displaying SortIcon in ListView Header and Column Width

Posted on 2004-10-07
5
150 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

867 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now