Wide Studio Object Reference

Wide Studio Home
Up to


Class Name

WSCfileSelect

Specification of methods



getFileName method

Form
char* getFileName()
Function
Returns the selected file name.
Description
Parameters
Nothing.
Return value
Returns the file name.
Notice
The file name is full path name,and do not release this. It is possible to get the pure file name by the WSNfileName property,and to get 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 it's file name.
    char* fname = fselect->getFileName();
  }
}


Document Release 3.20

For Use with Wide Studio Release 3.20, Spring 2003


Wide Stuido Home | Up to

Copyright(C) T. Hirabayashi, 1999-2003 Last modified: February 3, 2003