Hey,
I've set up my OPENFILENAME sturctures' flags to include the option OFN_ALLOWMULTISELECT but i'm having trouble. What i want to do is give the option for the user to select multiple files which will then be displayed in a listbox, however, when i select more than one file all that shows up in the listbox is the root directory.
For example, if i choose two or more files from C:\ - for example foo.txt and bar.txt - and send the lpstrFile member to the listbox (using SendDlgItemMessage) the only think that will show up will be "C:\" instead of the two files. However, if i select them each seperately they both appear just fine, one after the other.
I guess i'm probably missing something but i don't know what, so any help would be apprecited. Thanks.