Solved

Need Feeback: Displaying SortIcon in ListView Header and Column Width

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to read json value 2 52
how can i get the executable application's path in a specific form? ('\\' instead of '\ ') 5 40
Code works but it's slow 28 71
Hey!! 5 33
In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
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 Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

821 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