|
public
~XFileDialog
constructors/destructors
XFileDialog
misc
GetCommand
GetFileName
QueryFileCount
|
Derrived | : public XObject
|
|
|
Definition | ~XFileDialog ( )
virtual ~XFileDialog ( ) |
Returns | -
|
|
|
open the system defined file-dialog
|
Definition | XFileDialog ( XWindow* owner, char* f, char* title, char* fileType, LONG options )
XFileDialog ( XWindow* owner, char* filename ="*.*", char* title = NULL, char* fileType = NULL, LONG options = FD_OPEN ¦ FD_CENTER )
|
Parameters | : XWindow * theOwner owner-window
char * fileMask the file-mask to be displayed (default is <*.*>)
char * theTitle title of the dialog (default is NULL)
char * filetype file-type to be displayed (default is NULL)
LONG options options, valid values are
FD_OPEN open-dialog
FD_CENTER dialog is centered
FDS_SAVEAS_ saveas-dialog
FD_MULTIPLESEL multiple file-selection
(default is FD_OPEN ¦ FD_CENTER, can be orïed)
|
Returns | -
-
|
|
|
returns the action of the user
|
Definition | SHORT GetCommand ( )
|
Parameters | : -
|
Returns | SHORT
SHORT result: USER_OK or USER_CANCEL
|
|
if the file-dialog is proceeded you can ask for the
selected filename. If FD_MULTIPLESEL is specified, at first ask with QueryFileCont
for the number of files selected.
|
Definition | void GetFileName ( XString* st, SHORT index )
void GetFileName ( XString*, SHORT index = 0 )
|
Parameters | : XString * buffer the buffer which will contain the filename
SHORT index zero-based index of filename to get
(default is 0)
|
Returns | void
-
|
|
returns the number of files selected
|
Definition | SHORT QueryFileCount ( void )
|
Parameters | : -
|
Returns | SHORT
SHORT count of files
|