Thread: Explorer detail view style control.

  1. #1
    Registered User
    Join Date
    Sep 2001
    Location
    England
    Posts
    121

    Explorer detail view style control.

    I need to create or use a control similar to in windows explorer using view->details (where there are rows of files and columns representing their properties) Is there a control or a control style to do this or does anyone know of any suitable activex controls? I need to be able to set each 'cell' indidually from within the program, like a table in a database, but it should behave more like a list box to the end user.

    Thanks for any help

  2. #2
    Registered User sean345's Avatar
    Join Date
    Mar 2002
    Posts
    346
    I don't know a lot about it, but I know the control is called a list view. It works similiar to a list box, but has the multiple columns. You can try msdn for more information.

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

  3. #3
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    For a list of files, no details, try a listbox and send it a LB_DIR msg.

    To get the details will need a report style listview (allows multi columns). FindFirstFile(), CloseFind() ect.

    There is code posted here to do most of this, in both WIN32 API and MFC, if you search.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  4. #4
    Registered User
    Join Date
    Sep 2001
    Location
    England
    Posts
    121
    Thanks for the help, I dont actually need to display files, it's rows in a database, I was just using explorer as an example, but I'll look into listview now.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. BN_CLICKED, change button style
    By bennyandthejets in forum Windows Programming
    Replies: 13
    Last Post: 07-05-2010, 11:42 PM
  2. WS_EX_COMPOSITED style (double buffering) problems
    By JasonD in forum Windows Programming
    Replies: 2
    Last Post: 10-12-2004, 11:21 AM
  3. Changing the Style of a child control
    By filler_bunny in forum Windows Programming
    Replies: 2
    Last Post: 04-28-2004, 05:46 PM
  4. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM
  5. report style list view boxes
    By cppdude in forum Windows Programming
    Replies: 1
    Last Post: 05-01-2002, 05:17 PM