![]() |
• Interface Manager | ||||||||||||||||||||||||||||
|
API Links
Developer Links
|
class FilePickerDefined in:
A C4FilePicker.hFilePicker class encapsulates a file picker box.
Definition
Member Functions
Constructor
Parameters
Description
The FilePicker class provides a standard interface for selecting files. When the user selects a file, the file picker's completion procedure is called. The completion procedure can then retrieve the path to the selected file by calling the FilePicker::GetFileName function.Options that control the appearance and behavior of the file picker can be controlled by specifying a combination (through logical OR) of the following values in the flags parameter.
directory parameter specifies the directory for which a list of files is initially displayed. If the kFilePickerNoDirectories flag is not specified, then the user can navigate to any directory beneath the initial directory. If the kFilePickerSubdirectory flag is specified, the user can also navigate upward one level from the initial directory (and subsequently to any directory beneath that level).If the kFilePickerSave flag is specified, then an editable text box is displayed in which the user can enter a file name. This is useful for allowing new files to be created.If the file picker is cancelled, then the completion procedure is not called. Base Classes
|