Опции диалога открытия файлов.
ofReadOnly - по умолчанию при открытии диалогового окна устанавливать флажок «Открыть только для чтения».
ofOverwritePrompt - показывать предупреждающее сообщение, если пользователь пытается выбрать имя файла, которое уже используется, с вопросом, перезаписывать ли существующий файл. Используется в диалоговом окне сохранения.
ofHideReadOnly - скрывать флажок «Открыть только для чтения» в диалоговом окне.
ofNoChangeDir - после того, как пользователь нажимает кнопку «ОК», сбрасывать текущий каталог на тот, что был до открытия диалогового окна выбора файла.
ofShowHelp - показывать кнопку справки в диалоговом окне.
ofNoValidate - отключить проверку недопустимых символов в именах файлов. Позволяет выбирать имена файлов с недопустимыми символами.
ofAllowMultiSelect - позволять пользователям выбирать более одного файла в диалоговом окне.
ofExtensionDifferent - этот флаг включается во время выполнения, когда у выбранного имени файла есть расширение, отличное от
DefaultExt. Если вы используете этот флаг в приложении, не забудьте сбросить его.
ofPathMustExist - сообщать об ошибке, если пользователь пытается выбрать имя файла с несуществующим путем к каталогу.
ofFileMustExist - сообщать об ошибке, если пользователь пытается выбрать несуществующий файл. Применимо только к диалогу открытия файла.
ofCreatePrompt - сообщать, если пользователь пытается выбрать несуществующий файл, спрашивая, следует ли создать новый файл с указанным именем.
ofShareAware - игнорировать ошибки совместного доступа и позволять выбирать файлы даже при нарушении общего доступа.
ofNoReadOnlyReturn - Сообщать об ошибке, если пользователь пытается выбрать файл, доступный только для чтения.
ofNoTestFileCreate - отключать проверку защиты сетевых файлов и недоступности дисководов. Применяется только тогда, когда пользователь пытается сохранить файл в общем сетевом каталоге без изменения.
ofNoNetworkButton - скрывать кнопку «Сеть» (открывающую диалоговое окно «Подключить сетевой диск») в диалоге выбора файла. Применяется, только если установлен флаг ofOldStyleDialog.
ofNoLongNames - отображать только имена файлов длиной 8,3 символа. Эта опция действительна только в том случае, если установлен флаг ofOldStyleDialog.
ofOldStyleDialog - старый стиль диалога выбора файла.
ofNoDereferenceLinks - отключить разыменование ярлыков Windows. Если пользователь выбирает ярлык, ему назначается FileName путь и имя файла самого ярлыка (файл .LNK), а не файл, связанный с ярлыком.
ofEnableIncludeNotify - отправлять сообщения уведомления CDN_INCLUDEITEM в диалоговое окно, когда пользователь открывает папку. Уведомление отправляется для каждого элемента во вновь открытой папке. Вы можете использовать эти сообщения для управления тем, какие элементы будут отображаться в списке элементов папки.
ofEnableSizing - позволить изменять размер диалогового окна в стиле проводника с помощью мыши или клавиатуры. По умолчанию диалоговое окно позволяет изменять размер независимо от значения этого параметра. Это требуется только в том случае, если вы предоставляете подключаемую процедуру или настраиваемый шаблон. Диалоги в старом стиле никогда не позволяют изменять размер.
ofDontAddToRecent - предотвращать добавление файла в список недавно открытых файлов.
ofForceShowHidden - показывать скрытые файлы в диалоге.
ofViewDetail - отображать дополнительную информацию о файле.
ofAutoPreview - включить автоматический просмотр файла.