CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 1999
    Posts
    5

    CListCtrl: multiline column headers

    Hallo everybody!

    I have a problem with CListCtrl. I have to have a long column header with short column entries. So it would be fine, if I could split the header into two lines. But setting a text like "line1\r\nline2"

    doesn´t work. Any idea how this could work?

    Thanks in advance,
    Thomas


  2. #2
    Join Date
    Apr 1999
    Posts
    52

    Re: CListCtrl: multiline column headers

    Dream on...

    But if you're hell bent on doing this, the new common control Header (that comes with IE 3.0+) can support custom draw, however. you'll have to do the work yourself, though. Can't just specify the string.



  3. #3
    Join Date
    May 1999
    Location
    Canada
    Posts
    36

    Re: CListCtrl: multiline column headers

    I did this. see post How to change the height of Header in CListCtrl

    http://www.codeguru.net/bbs/wt/showp...sb=5#Post15958


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured