Home » U++ Library support » FileSel&FileList, Path » FileSel vs. FileSelector documentation shortcoming
FileSel vs. FileSelector documentation shortcoming [message #13668] |
Sun, 20 January 2008 12:09 |
Werner
Messages: 234 Registered: May 2006 Location: Cologne / Germany
|
Experienced Member |
|
|
As far as I can see, the file types (extensions) of FileSel may be separated by spaces, too (this is also what the documentation (only!) says) whereas the file types (extensions) of FileSelector (Win32 only) have to be separated by semicolons:
FileSel fs;
fs.Type("C/C++ files", "*.c *.cpp *.h *.hpp"); // spaces work!
FileSel fs;
fs.Type("C/C++ files", "*.c,*.cpp,*.h,*.hpp"); // commas work!
FileSel fs;
fs.Type("C/C++ files", "*.c;*.cpp;*.h;*.hpp"); // semicolons work!
FileSelector fs;
fs.Type("C/C++ files", "*.c *.cpp *.h *.hpp"); // spaces don't work!
FileSelector fs;
fs.Type("C/C++ files", "*.c,*.cpp,*.h,*.hpp"); // commas don't work!
FileSelector fs;
fs.Type("C/C++ files", "*.c;*.cpp;*.h;*.hpp"); // semicolons work!
It might be a good idea to document this.
Werner
[Updated on: Sun, 20 January 2008 14:28] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Apr 26 21:20:14 CEST 2024
Total time taken to generate the page: 0.03238 seconds
|