Listview ColumnHeader Icons


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Listview ColumnHeader Icons

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    Listview ColumnHeader Icons

    [Originally posted by Walter Cantrell]

    I have 5 columns in my listview. One of these is center aligned and one is right aligned. On these 2 I cannot set a columnheader icon. If I align these as the default left then an icon will show up.

    I really need these 2 columns to be aligned center and right respectively for looks sake. I've tried to find a way to align the contents of the column without aligning the column header, but I've not found a way.

    Anyone have a solution for this?

    Thanks,
    Walter

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Listview ColumnHeader Icons

    [Originally posted by Walter Cantrell]

    Well this is kind of weird. I've always programmed listviews and its properties in the coding. Just for the heck of it I used properties gui and set up my column headers and icons that way, and I can align the columns any way I want and the icon will work.

    I guess all that matters is the problem is solved, but if someone knows how to do this programmatically then let me know.

    Thanks,
    Walter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center