Dana Posted December 17, 2009 Posted December 17, 2009 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
Mat Posted December 17, 2009 Posted December 17, 2009 This might help...http://www.codeproject.com/KB/list/customheader.aspxThough 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 bitmapsThat 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 AutoIt Project Listing
danielkza Posted December 18, 2009 Posted December 18, 2009 _GUICtrlListView_InsertColumn takes an index for an item on the control's ImageList. It should work to display a bitmap loaded with GDIPlus, for instance.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now