ultimatepp/uppdev/NewFileSel/main.cpp
cxl 351994a6cc Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-15 08:36:24 +00:00

21 lines
495 B
C++

#include "FileSel.h"
GUI_APP_MAIN
{
SetDefaultCharset(CHARSET_UTF8);
FileSel fs;
String fn;
fs.Type( t_("archive FIDE (txt)"), "*.txt") //type 1
.Type( t_("archive VEG (csv)"), "*.csv;*.veg") //type 2
.Type( t_("national archive with Fixed Length (txt)"), "*.txt") //type 3
.Type( t_("archive FSI Italy (csv)"), "*.csv"); //type 4
fs.NoMkDirOption();
fs.Multi();
// fs.NoEditFileName();
for(;;) {
if(!fs.ExecuteOpen())
break;
PromptOK(~fs);
}
}