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. Help? Anyone?

Help? Anyone?

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
2 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.
  • M Offline
    M Offline
    Matt
    wrote on last edited by
    #1

    I am new at Visual C++ and have an assignment due in a week. Not happy. Basically I need to be able to select some files in some way, and add them to a list box so I can ouput the paths to a text file. If anyone can help, I would be very thankful. Thankyou Matt

    C 1 Reply Last reply
    0
    • M Matt

      I am new at Visual C++ and have an assignment due in a week. Not happy. Basically I need to be able to select some files in some way, and add them to a list box so I can ouput the paths to a text file. If anyone can help, I would be very thankful. Thankyou Matt

      C Offline
      C Offline
      Christian
      wrote on last edited by
      #2

      Use a CFileDialog to select files, then use the GetPath function to get the path selected ( I'm not sure of the mechanics of stepping through multpiple selections ), then add then to the list box as you get them from the dialog. LMK if you have any other problems, but that should get you started. Do you have the MSDN help ? If not, get it, it is invaluable.

      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