|
From: andrew7 <bd...@us...> - 2007-06-09 16:23:06
|
Update of /cvsroot/smartwin/SmartWin/tests/WidgetLoadFile In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv7752 Modified Files: Main.cpp Log Message: Test for default filepath option Index: Main.cpp =================================================================== RCS file: /cvsroot/smartwin/SmartWin/tests/WidgetLoadFile/Main.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- Main.cpp 9 Jul 2006 03:42:01 -0000 1.6 +++ Main.cpp 9 Jun 2007 16:22:57 -0000 1.7 @@ -43,6 +43,12 @@ WidgetMessageBox msgBox = createMessageBox(); msgBox.show( filePath ); + // Choose an existing file with a default file + filePath = dlg.showDialog( _T("Main.cpp") ); + msgBox.show( filePath ); + + + // Choose multiple files std::vector<SmartUtil::tstring> filePathList = dlg.showDialogMultiSelect(); filePath = _T(""); std::vector<SmartUtil::tstring>::iterator iter; |