Description |
Parent class: XSystemDialog
XFileDialog |
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:
(default is FD_OPEN | FD_CENTER, can be or-ed) |
Open the system defined file-dialog
GetCommand |
SHORT result: USER_OK or USER_CANCEL
Returns the action of the user
GetFileCount |
SHORT count of files
Returns the number of files selected
GetFileName |
XString * buffer the buffer which will contain the filename SHORT index zero-based index of filename to get (default is 0)
If the file-dialog is proceeded you can ask for the selected filename. If FD_MULTIPLESEL is specified, at first ask with GetFileCount() for the number of files selected.