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. file picker

file picker

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
5 Posts 2 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.
  • W Offline
    W Offline
    Willem B
    wrote on last edited by
    #1

    hi, can someone tell me where to find a file picker component for VC++? greetz, willem []D [] []D []

    C W 2 Replies Last reply
    0
    • W Willem B

      hi, can someone tell me where to find a file picker component for VC++? greetz, willem []D [] []D []

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

      Hi ! I'm not sure that's what you want but you can use the CFileDialog (take a look at the help) from the MFC. You can specify some parameters (load or save file dialog, the file extentions, ...).

      W 1 Reply Last reply
      0
      • W Willem B

        hi, can someone tell me where to find a file picker component for VC++? greetz, willem []D [] []D []

        W Offline
        W Offline
        Willem B
        wrote on last edited by
        #3

        got the solution: FileDialog dlg(TRUE, NULL, NULL, OFN_HIDEREADONLY|OFN_OVERWRITEPROMPT, "Exe Files (*.exe)|*.exe|All Files (*.*)|*.*||", this); dlg.m_ofn.lpstrTitle = "Select the File"; if(dlg.DoModal() == IDOK) { m_strExtractorPath = dlg.GetPathName(); } []D [] []D []

        1 Reply Last reply
        0
        • C Cedric Moonen

          Hi ! I'm not sure that's what you want but you can use the CFileDialog (take a look at the help) from the MFC. You can specify some parameters (load or save file dialog, the file extentions, ...).

          W Offline
          W Offline
          Willem B
          wrote on last edited by
          #4

          your right... thnx []D [] []D []

          C 1 Reply Last reply
          0
          • W Willem B

            your right... thnx []D [] []D []

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

            Hum, yes, I saw you found the same solution :)

            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