Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. select multiple files instead of 1 only

select multiple files instead of 1 only

Scheduled Pinned Locked Moved C / C++ / MFC
c++questionvisual-studiodata-structuresannouncement
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    johnmc93940
    wrote on last edited by
    #1

    i'm a novice with a working c++ dialog program using VISUAL C++ IDE (version 6) that asks the user for path to a file which i process. How do i get a tree view of 'my computer' folders/files just like 'windows explorer details view' so i can select a range of files to process, one at a time?

    PJ ArendsP S 2 Replies Last reply
    0
    • J johnmc93940

      i'm a novice with a working c++ dialog program using VISUAL C++ IDE (version 6) that asks the user for path to a file which i process. How do i get a tree view of 'my computer' folders/files just like 'windows explorer details view' so i can select a range of files to process, one at a time?

      PJ ArendsP Offline
      PJ ArendsP Offline
      PJ Arends
      wrote on last edited by
      #2

      MFC? Use CFileDialog or else use GetOpenFileName(). Be sure to include OFN_ALLOWMULTISELECT as one of the flags and make sure that OPENFILENAME::nMaxFile and OPENFILENAME::lpstrFile are set up correctly. http://www.codeproject.com/dialog/pja_multiselect.asp[^]


      You may be right I may be crazy -- Billy Joel -- Within you lies the power for good - Use it!

      Within you lies the power for good; Use it!

      J 1 Reply Last reply
      0
      • J johnmc93940

        i'm a novice with a working c++ dialog program using VISUAL C++ IDE (version 6) that asks the user for path to a file which i process. How do i get a tree view of 'my computer' folders/files just like 'windows explorer details view' so i can select a range of files to process, one at a time?

        S Offline
        S Offline
        SteelCrow
        wrote on last edited by
        #3

        I think there is a file dialog control you can use. you can use that to make your life easier. I,m a newbie too but im using C# at the moment. ^_^

        J 1 Reply Last reply
        0
        • PJ ArendsP PJ Arends

          MFC? Use CFileDialog or else use GetOpenFileName(). Be sure to include OFN_ALLOWMULTISELECT as one of the flags and make sure that OPENFILENAME::nMaxFile and OPENFILENAME::lpstrFile are set up correctly. http://www.codeproject.com/dialog/pja_multiselect.asp[^]


          You may be right I may be crazy -- Billy Joel -- Within you lies the power for good - Use it!

          J Offline
          J Offline
          johnmc93940
          wrote on last edited by
          #4

          ok, thanks; looking up your keywords in the IDE help.

          1 Reply Last reply
          0
          • S SteelCrow

            I think there is a file dialog control you can use. you can use that to make your life easier. I,m a newbie too but im using C# at the moment. ^_^

            J Offline
            J Offline
            johnmc93940
            wrote on last edited by
            #5

            thanks, i'm slogging through the IDE's HELP section. This is pretty blasted complicated.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups