select multiple files instead of 1 only
-
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?
-
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?
MFC? Use
CFileDialog
or else useGetOpenFileName()
. Be sure to includeOFN_ALLOWMULTISELECT
as one of the flags and make sure thatOPENFILENAME::nMaxFile
andOPENFILENAME::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!
-
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?
-
MFC? Use
CFileDialog
or else useGetOpenFileName()
. Be sure to includeOFN_ALLOWMULTISELECT
as one of the flags and make sure thatOPENFILENAME::nMaxFile
andOPENFILENAME::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!
ok, thanks; looking up your keywords in the IDE help.
-
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. ^_^
thanks, i'm slogging through the IDE's HELP section. This is pretty blasted complicated.