Allow Multiple File Names In An Open File Dialog Box

If you want to allow multiple file names in an open file dialog box(Flags OFN_ALLOWMULTISELECT), the resulting FileName string will consistof the drive and directory path followed by a space-separated list of thefiles selected in that directory. For example, selecting files X.TXT andY.TXT in c:a will result in a file name of “c:a x.txt y.txt”and NOT “c:ax.txt c:ay.txt.”

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: