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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Display Selected Folder Files

Display Selected Folder Files

Scheduled Pinned Locked Moved C / C++ / MFC
helplearning
9 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.
  • A Offline
    A Offline
    anjita
    wrote on last edited by
    #1

    In my code i am using a browse for folder dialog box the problem i am facing is i want to display all the files in the selected folder into a right pane (My code consist of splitter window with left and right pane ) Please help me out i am just a beginner Thanx in advance

    C H 2 Replies Last reply
    0
    • A anjita

      In my code i am using a browse for folder dialog box the problem i am facing is i want to display all the files in the selected folder into a right pane (My code consist of splitter window with left and right pane ) Please help me out i am just a beginner Thanx in advance

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      And where are you stuck exactly ? If you don't know how to get the files from your folder, take a look at CFileFind[^]

      A 1 Reply Last reply
      0
      • C Cedric Moonen

        And where are you stuck exactly ? If you don't know how to get the files from your folder, take a look at CFileFind[^]

        A Offline
        A Offline
        anjita
        wrote on last edited by
        #3

        Well I am able to get folder dialog box and select the folder but now i want that i should be able to display the selected folder files into the right pane of my sdi splitter window I am unable to do that

        C 1 Reply Last reply
        0
        • A anjita

          Well I am able to get folder dialog box and select the folder but now i want that i should be able to display the selected folder files into the right pane of my sdi splitter window I am unable to do that

          C Offline
          C Offline
          Cedric Moonen
          wrote on last edited by
          #4

          This is very vague. Does my answer help you ?

          1 Reply Last reply
          0
          • A anjita

            In my code i am using a browse for folder dialog box the problem i am facing is i want to display all the files in the selected folder into a right pane (My code consist of splitter window with left and right pane ) Please help me out i am just a beginner Thanx in advance

            H Offline
            H Offline
            Hamid Taebi
            wrote on last edited by
            #5

            Can you be more specific Do you want to get many files instead one file?

            A 1 Reply Last reply
            0
            • H Hamid Taebi

              Can you be more specific Do you want to get many files instead one file?

              A Offline
              A Offline
              anjita
              wrote on last edited by
              #6

              Yes I want to list all the file names in the selected folder If anyone could help me out please I am just a beginner

              H 1 Reply Last reply
              0
              • A anjita

                Yes I want to list all the file names in the selected folder If anyone could help me out please I am just a beginner

                H Offline
                H Offline
                Hamid Taebi
                wrote on last edited by
                #7

                if you need to all files you can use FindFirstFile and FineNext but if you want to multiselect use OFN_ALLOWMULTISELECT OPENFILENAME ofn.m_ofn.Flags in function GetOpenFileName Hope I understood your question

                A 2 Replies Last reply
                0
                • H Hamid Taebi

                  if you need to all files you can use FindFirstFile and FineNext but if you want to multiselect use OFN_ALLOWMULTISELECT OPENFILENAME ofn.m_ofn.Flags in function GetOpenFileName Hope I understood your question

                  A Offline
                  A Offline
                  anjita
                  wrote on last edited by
                  #8

                  Thanx for the help !!!!!!!!

                  1 Reply Last reply
                  0
                  • H Hamid Taebi

                    if you need to all files you can use FindFirstFile and FineNext but if you want to multiselect use OFN_ALLOWMULTISELECT OPENFILENAME ofn.m_ofn.Flags in function GetOpenFileName Hope I understood your question

                    A Offline
                    A Offline
                    anjita
                    wrote on last edited by
                    #9

                    Thanx for the help !!!!!!!! :)

                    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