i was wandering if there any good tutorials or books on setting up code to allow he user to browse through folders to select the file she wants to work with.
I'm just starting on it and have no idea where even to start.
Any input is welcome,
Thanks.
This is a discussion on Directory browsing within the C++ Programming forums, part of the General Programming Boards category; i was wandering if there any good tutorials or books on setting up code to allow he user to browse ...
i was wandering if there any good tutorials or books on setting up code to allow he user to browse through folders to select the file she wants to work with.
I'm just starting on it and have no idea where even to start.
Any input is welcome,
Thanks.
Everything is relative...
I've looked through this FAQ > How do I... (Level 3) > Accessing a directory and all the files within it, but I don't really undrstand what it is talking about.
Everything is relative...
If you want the common file browser dialog look up the OPENFILENAME structure and GetOpenFileName().
If you want to manually check look up FindFirstFile() and FindNextFile().
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
Assuming Windows....
GetOpenFileName()
Using Common Dialog Boxes
You can also search these boards with "OPENFILENAME" for more code examples.
gg
I've taken a look at the forums, and there are a lot of people with the same problem it seems. I'll keep researching.
But just so I understand correctly. If I want to have the user say click a button and open up a dialog box with say "My Computer" directory or my Documents, would I have to call GetOpenFileName() and the rest of the stuff under the executable events for that button?
I guess this has turned into a Windows thread, move it if you see fit, pls.
Everything is relative...