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

    Listbox with three columns?

    How do I create a listbox with a fixed number of columns?

  2. #2
    Join Date
    Mar 2005
    Location
    Romania,Cluj-Napoca
    Posts
    1,073

    Re: Listbox with three columns?

    Are you using MFC? have you looked at the CListBox class? Or do you need some code example about this?

    Regards,
    Gili
    Please use code tags [code] [/code]

    We would change the world, but God won't give us the sourcecode..
    Undocumented futures are fun and useful....
    ___
    ______
    Gili

  3. #3
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,637

    Re: Listbox with three columns?

    You're probably looking for a CListCtrl with the report style set.

  4. #4
    Join Date
    Jan 2007
    Posts
    34

    Re: Listbox with three columns?

    I changed "Not Using MFC" to "Use MFC in a Shared DLL" and got 14 errors on compiling. Yikes.

    Is there a way to add in a table without MFC?

  5. #5
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,244

    Re: Listbox with three columns?

    Quote Originally Posted by Scott_H
    I changed "Not Using MFC" to "Use MFC in a Shared DLL" and got 14 errors on compiling. Yikes.
    Not too many, and not impossible to get rid of them, but easier and headache-less is to make from scratch your application using MFC AppWizard.
    Quote Originally Posted by Scott_H
    Is there a way to add in a table without MFC?
    Yes.
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

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