Remove ellipsis (...) in listview column header

P

p19010101

Using sample codes from msdn and code snippets from this group, I am
able to derive a custom listivew user control with column sorting and
up/down icons in the column header. It works fine except one small
problem.

Say column 1 reads "company name", when I click on the header it
becomes "company..." with an up icon on the right indicating the column
is sorted in ascending order. When I click on the 2nd column, the code
removes the icon in column 1 then attached the up icon to column 2. The
problem is column 1 still reads "company...", how do I force the column
text to "refresh" in order to get rid of the "..."?

The listview in Windows Explorer does not suffer this behavior, so I
suppose it can be done but just a matter of how?

Please help. TIA.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top