Jump to content

Listview header size


Dana
 Share

Recommended Posts

I'm working with a listview where the column titles are longer than the actual data in the columns. There's also quite a few columns, and I'd like to display them all without scrolling. What I'd like to do is display the column tables in the header in a smaller font than the actual data text in the columns, but I don't see any way to do that (actually, a two line header would be ideal). Then I could autosize the columns to the size of the data, and still have room for the longer titles.

-Dana

Link to comment
Share on other sites

This might help...

http://www.codeproject.com/KB/list/customheader.aspx

Though I am not sure how helpful it will be. This caught my eye:

With common controls version 4.70 and later, column header supports images from an ImageList and bitmaps

That means that practically all computers will allow you do do that... I don't know how you would go about implementing it...

I'll play around later.

Mat

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...