Multi-Column ListBox

This is a discussion on Multi-Column ListBox within the Windows Programming forums, part of the Platform Specific Boards category; I want to put a ListBox (or whatever ) control on my dialog box. I want all the bells and ...

  1. #1
    Registered User
    Join Date
    Aug 2002
    Posts
    170

    Multi-Column ListBox

    I want to put a ListBox (or whatever ) control on my dialog box.

    I want all the bells and whistles. Like I want each field to be resiable. For the entire list to be sorted by the field you select. To be able to pick and choose which fields are displayed.

    I have started playing with CListBox, but it does not seem to have these features. It has mutlicolumns, but that is just a wrap around if the first column fills up.

    Does anyone know of a control that does what I want?

    Edit: I think I just found it. CListCtrl Will see if that does what I need. So far it kinda looks like it.
    Last edited by bonkey; 10-17-2002 at 10:44 AM.
    Best Regards,

    Bonkey

  2. #2
    Registered User sean345's Avatar
    Join Date
    Mar 2002
    Posts
    346
    What your looking for is a List View. Check on MSDN for more information about List views.

    - Sean
    If cities were built like software is built, the first woodpecker to come along would level civilization.
    Black Frog Studios

  3. #3
    Registered User
    Join Date
    Aug 2002
    Posts
    170
    I was having some success with CListCtrl. I deleted it and started over with CListView, but I am finding very little in the way of information on it. Especially when you are inserting into a dialog as an ActiveX control.

    It shows up in my dialog fine, but the MSDN says to do GetListCtrl and then do normal operations on the ListCtrl. This is not even a valid function of the derived class. There must be something different when you use the ActiveX control version of the CListView (sp6).

    Does anyone know of some documentation on how to use this in this way? Ir, should I go back to a straight CListCtrl?
    Best Regards,

    Bonkey

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. IF CONDITION plese help
    By birumut in forum C Programming
    Replies: 12
    Last Post: 03-06-2009, 09:48 PM
  2. Retrieving Multiple inputs with fgets?
    By Axel in forum C Programming
    Replies: 25
    Last Post: 09-13-2005, 05:04 PM
  3. pointers
    By InvariantLoop in forum C Programming
    Replies: 13
    Last Post: 02-04-2005, 09:32 AM
  4. Multi column Listbox
    By Gravedigga in forum Windows Programming
    Replies: 1
    Last Post: 10-12-2003, 01:20 PM
  5. Listbox multi collum
    By (TNT) in forum Windows Programming
    Replies: 2
    Last Post: 01-02-2002, 08:06 AM

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