## Description

Include file: xfiledlg.h

Parent class: XSystemDialog

### Overview

### Functions

#### XFileDialog

#### 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
FD_SAVEAS_ | saveas-dialog
FD_MULTIPLESEL | multiple file-selection
FD_HELP | the dialog has a help-button. To display help the owner-window must be associated with a help-instance and in th help-file there must be an entry with an id of 267 (res=267)
FD_MODELESS | show modeless
FD_APPLYBUTTON | apply-button
FD_EAS | use EAs
FD_FILTERUNION | use filter from string-filter and EAs
FD_HELPBUTTON | show a help-button
(default is FD_OPEN | FD_CENTER, can be or-ed)

#### Remarks

Open the system defined file-dialog

#### GetCommand

#### Return-Value

SHORT result: USER_OK or USER_CANCEL

#### Remarks

Returns the action of the user

#### GetFileCount

#### Return-Value

SHORT count of files

#### Remarks

Returns the number of files selected

#### GetFileName

#### Parameters

XString * buffer the buffer which will contain the filename SHORT index zero-based index of filename to get (default is 0)

#### Remarks

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.

This document was generated by Jens von Pilgrim's Autodoc