Multiple file select in CFileDialog
Posted on 2004-08-20
I have a strange bug with using a subclass of CFileDialog to allow the user of my app to
I have a subclass called CFilePreDialog and basically the "standard" CFileDialog file browser pops
up and the user selects a JPEG file and then clicks "Open". Works great. Now, using the standard
windows feature, the user may "hold down CTRL and hilite multiple files" and then click "Open" and
all these files are selected. This works great if the number of files is 2 or 3 or 4, but at some point
(may depend on file size? but not sure) it doesn't work. Generally, if you try to hilite and select 8
or 10 files, it won't work. The panel vanishes, and it acts exactly as if the user had pressed the
"cancel" button on the panel.
So what's up with this? Why would the number of files selected matter?