DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Variable List Box Columns

  1. #1
    Rick McLean Guest

    Variable List Box Columns

    Hello all:

    I'm looking for API's to add columns to a list box so that the list box
    looks like something similar to Windows Explorer's File List.

    Currently I'm using a module off of the internet called super list box
    that adds tabstops to your list box, but there's no column headers.
    Also, if an item in a row is larger than the tabstop for that column,
    then all the columns to the right of that get pushed over just like
    normal tab stops.

    All of your help is appreciated,

    Rick


  2. #2
    Mattias Sjögren Guest

    Re: Variable List Box Columns

    Rick,

    What Explorer uses is a ListView control, and it sounds like you might
    want to use one to. It's part of the Common Controls.


    Matt

    ====================================
    Mattias Sjögren - mattias @ mvps.org
    http://www.msjogren.net/dotnet/

    CodeHound - The Software Developer's Search Engine
    http://www.codehound.com

  3. #3
    Mattias Sjögren Guest

    Re: Variable List Box Columns

    Rick,

    What Explorer uses is a ListView control, and it sounds like you might
    want to use one to. It's part of the Common Controls.


    Matt

    ====================================
    Mattias Sjögren - mattias @ mvps.org
    http://www.msjogren.net/dotnet/

    CodeHound - The Software Developer's Search Engine
    http://www.codehound.com

  4. #4
    Rick McLean Guest

    Re: Variable List Box Columns

    Righto. I guess what I'd really like though, is to be able to create a
    ListView through API's so I don't have to carry around an extra
    dependancy. Any thoughts on that?

    "Mattias Sjögren" wrote:

    > Rick,
    >
    > What Explorer uses is a ListView control, and it sounds like you might
    > want to use one to. It's part of the Common Controls.
    >
    > Matt
    >
    > ====================================
    > Mattias Sjögren - mattias @ mvps.org
    > http://www.msjogren.net/dotnet/
    >
    > CodeHound - The Software Developer's Search Engine
    > http://www.codehound.com



  5. #5
    Rick McLean Guest

    Re: Variable List Box Columns

    Righto. I guess what I'd really like though, is to be able to create a
    ListView through API's so I don't have to carry around an extra
    dependancy. Any thoughts on that?

    "Mattias Sjögren" wrote:

    > Rick,
    >
    > What Explorer uses is a ListView control, and it sounds like you might
    > want to use one to. It's part of the Common Controls.
    >
    > Matt
    >
    > ====================================
    > Mattias Sjögren - mattias @ mvps.org
    > http://www.msjogren.net/dotnet/
    >
    > CodeHound - The Software Developer's Search Engine
    > http://www.codehound.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
  •  
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