 | | WideStudio/MWT Class Reference
| |
Class Name
WSCfileSelect
Specification of methods
getFileName method
- Form
- char* getFileName()
- Function
- Returns the selected file name.
- Description
-
- Parameters
- None.
- Return value
- Returns the file name.
- Notice
- The file name is the full path name.
Do not release this.
It is possible to get the pure file name by the WSNfileName
property, and to get the directory name by the WSNdirName property.
- Samples
-
#include <WSCfileSelect.h>
extern WSCfileSelect* newfsel_000;
void sample_proc(WSCbase* object){
//popup the file selection dialog up.
long ret = newfsel_000->popup();
//if a file is selected...
if (ret == WS_DIALOG_OK){
//get its file name.
char* fname = fselect->getFileName();
}
}
Document Release 3.90 For use with WideStudio/MWT Release 3.90, Summer 2005 WideStudio/MWT Home | Up to Copyright(C) WideStudio/MWT Development Team, 1999-2005 | | Last modified: June 25, 2005 | |