Solved

Need Feeback: Displaying SortIcon in ListView Header and Column Width

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 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

13 Experts available now in Live!

Get 1:1 Help Now