Vertical column in ListView

This is a discussion on Vertical column in ListView within the Windows Programming forums, part of the Platform Specific Boards category; It's possible to create a ListView with a vertical left-aligned column, like the figure below, with CreateWindowEx and the class ...

  1. #1
    A.I Programmer
    Join Date
    Mar 2007
    Location
    Teresina - Brazil
    Posts
    47

    Vertical column in ListView

    It's possible to create a ListView with a vertical left-aligned column, like the figure below, with CreateWindowEx and the class WC_LISTVIEW?

    [?]
    Attached Images Attached Images  

  2. #2
    Registered User
    Join Date
    Feb 2002
    Posts
    329
    I don't think so. There's no datagrid in the common controls library..
    I think you'll have to use a 3rd party datagrid control..

  3. #3
    HelpingYouHelpUsHelpUsAll
    Join Date
    Dec 2007
    Location
    In your nightmares
    Posts
    223
    That contol is a header control, and for this instance you would need to have two. If you can get the CCS_VERT & CCS_LEFT properties todo what they are meant to do (or what they logically should do) then there is your answer. If it is possible its probably harder than you think, and lining the header controls up would probably be a nightmare.
    Then again, excel did it...
    long time no C; //seige
    You miss 100% of the people you don't C;
    Code:
    if (language != LANG_C && language != LANG_CPP)
        drown(language);

  4. #4
    Registered User
    Join Date
    Apr 2007
    Posts
    137
    Quote Originally Posted by knutso View Post
    I don't think so. There's no datagrid in the common controls library..
    I think you'll have to use a 3rd party datagrid control..
    Of course there are plenty of Win32 native grid controls !
    I use them in C since... 1995.
    Ther is nothing to do, except displaying Row Header (and it's not at all a Header control !)
    Last edited by Alex31; 11-13-2008 at 07:13 PM.

  5. #5
    Registered User
    Join Date
    Apr 2006
    Posts
    137
    What did he mean by 3rd party lol? Any third party library still uses Win32!
    ★ Inferno provides Programming Tutorials in a variety of languages. Join our Programming Forums. ★

  6. #6
    Registered User
    Join Date
    Feb 2002
    Posts
    329
    I meant that i didn't know there were controls with vertical columns, and that i thought you would have to create your own control, or use one that someone else has created.

  7. #7
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,059
    This CodeGuru grid control may be of some use to you.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Listview label editing
    By Niara in forum Windows Programming
    Replies: 5
    Last Post: 06-10-2008, 03:20 AM
  2. Prevent listview column resize
    By Stabbsy in forum Windows Programming
    Replies: 2
    Last Post: 05-30-2007, 11:03 PM
  3. Retrieving Multiple inputs with fgets?
    By Axel in forum C Programming
    Replies: 25
    Last Post: 09-13-2005, 04:04 PM
  4. Listview arrow in column head
    By toso in forum Windows Programming
    Replies: 3
    Last Post: 08-30-2005, 12:05 PM
  5. pointers
    By InvariantLoop in forum C Programming
    Replies: 13
    Last Post: 02-04-2005, 08:32 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21