Explorer Picker
Replaces the Open, Save As and folder picker dialogs of every program with a real Explorer window that has a File name / Files of type bar at the bottom
Author: appEW
The Open, Save As and folder picker dialogs of every program are replaced with
a real Explorer window (explorer.exe) with a File name / Files of type / Open /
Cancel bar at the bottom. The folder tree, the toolbars, the address bar and
the status bar are the same as in any other Explorer window, along with
whatever other mods change them.
Tested only on Windows 11 24H2 (build 26100). It has not been tried on any other version of Windows and may not work there.
Screenshots / Скриншоты
The screenshots use a classic theme and additional Explorer mods.
На скриншотах используются классическая тема и дополнительные моды Проводника.
Choosing a background photo / Выбор фотографии для фона

Choosing a folder / Выбор папки

Opening a file / Открытие файла

How it works
The one mod plays both parts:
- in
explorer.exe it opens the picker window, builds the bar at the bottom
and reads the current folder and the selection itself;
- in every other process it intercepts
GetOpenFileName / GetSaveFileName
(Unicode and ANSI) and IFileOpenDialog / IFileSaveDialog, passes the
request to Explorer, and hands the result back to the program in the form it
expects.
Supported: opening one or several files, saving with a confirmation before
replacing a file, picking a folder, file type filters, IFileDialogEvents
events, the extra controls of IFileDialogCustomize (check boxes, combo boxes,
radio buttons, edit boxes, buttons, labels, groups, menus), and the templates
and hook procedures of old-style dialogs with their check boxes. System file
pickers, including the Windows Background photo picker, and native application
panels such as REAPER's project-saving options are supported. Application item
filters are checked before accepting files; Explorer keeps its usual folder
contents. Programs
running as administrator use their native dialogs by default. The optional
setting to replace those dialogs allows programs without administrator rights
to influence the choice made by an administrator program. When Explorer itself
has administrator rights (for example with User Account Control turned off),
programs are not treated as elevated.
If a program asks for something Explorer cannot do, or Explorer is not
available, the normal dialog is shown. The risky option below can ignore
additional application features.
Risky: ignore additional application features
Ignore additional dialog features (risky) is off by default.
When enabled, fully supported extra controls and native panels are retained.
If an optional extra feature, control or panel cannot be represented, the whole
additional application UI can be omitted, including otherwise supported options.
Application events, including OnFileOk/CDN_FILEOK, and supported Unicode Win32
hooks are retained. Programs can perform the actual opening or saving in these
callbacks.
Unavailable extra options use their defaults or retained values instead.
Use at your own risk: omitted extra options or previews can still cause
incorrect opening or saving, crashes or data loss. Ordinary file types,
result buffers, item filters, application acceptance checks, path checks and
overwrite confirmation remain supported. Unrepresentable results, required
unsupported behavior or an unavailable Explorer still require the native
dialog. ANSI hooks/templates and Unicode hook contracts which cannot be
retained use the native dialog even with this option enabled. Editable custom
filters can be omitted only when no application hook/template is lost.
Disabling the option restores strict extra-feature compatibility handling.
By default, services, system accounts, critical processes, AppContainer
processes, Chromium worker processes and Windhawk itself are skipped. Single
programs can be excluded on the Advanced tab.
The picker is an ordinary Explorer window: its size, navigation history and
recent locations are handled by Explorer, just like those of other folder windows.
Disabling the mod cancels active pickers and releases its windows and threads.
Applications keep their original Windows COM dialog objects.
The texts of the bar and of its messages follow the Windows display language:
Russian on a Russian Windows, the wording of the English common dialog
everywhere else. Application-provided captions keep the application's language.
The panel updates its default captions when Windows notifies it of a settings
change. Its font and spacing follow the window's DPI; long captions wrap and
the rows grow to keep the text inside the controls.
По-русски
Окна «Открыть», «Сохранить как» и «Выбор папки» всех программ заменяются
настоящим окном Проводника (explorer.exe) с нижней панелью «Имя файла» /
«Тип файлов» / «Открыть» / «Отмена». Дерево папок, панели инструментов,
адресная строка и строка состояния — те же, что в обычном Проводнике.
Один мод выполняет обе роли:
- в explorer.exe — открывает окно выбора, встраивает нижнюю панель и сам
читает текущую папку и выделение;
- в остальных процессах — перехватывает
GetOpenFileName/GetSaveFileName
(Unicode и ANSI) и IFileOpenDialog/IFileSaveDialog, передаёт запрос в
Проводник и возвращает программе результат в привычной для неё форме.
Поддерживаются: один и несколько файлов, сохранение с подтверждением замены,
выбор папки, фильтры типов, события IFileDialogEvents, дополнительные
элементы IFileDialogCustomize (флажки, списки, переключатели, поля, кнопки,
надписи, группы, меню), шаблоны/обработчики старых диалогов с флажками.
Поддерживаются системный выбор фотографии для фона Windows и native-панели
приложений, включая параметры сохранения проекта REAPER. Фильтр приложения
проверяется перед принятием файлов; содержимое папки отображается как в
обычном Проводнике.
Программы с правами администратора по умолчанию используют штатные диалоги.
Опциональное включение замены позволяет программам без прав администратора
влиять на выбор файла программой с правами администратора. Если сам Проводник
работает с правами администратора (например, при отключённом контроле учётных
записей), программы не считаются запущенными с повышенными правами.
Если программа запрашивает то, что нельзя повторить в Проводнике, или
Проводник недоступен, показывается обычное окно. Рискованная опция ниже позволяет
игнорировать дополнительные функции приложения.
Рискованно: игнорирование дополнительных функций приложения
«Игнорировать дополнительные функции диалогов (рискованно)»
по умолчанию выключено. Полностью поддерживаемые дополнительные элементы
и native-панели сохраняются. Если дополнительную необязательную функцию,
элемент или панель нельзя повторить, можно пропустить весь дополнительный
интерфейс приложения, включая отдельно поддерживаемые параметры. События
приложения и поддерживаемые Unicode Win32 hooks, включая OnFileOk/CDN_FILEOK,
сохраняются: программа может выполнять само
открытие или сохранение именно в этих обработчиках. Недоступные дополнительные
параметры используют значения по умолчанию или ранее заданные значения.
Используйте на свой страх и риск: потеря дополнительных параметров или
предпросмотра может привести к неправильному открытию/сохранению, сбоям или
потере данных. Типы файлов, буферы результата, фильтр допустимых элементов,
проверки принятия файла приложением, проверка пути и подтверждение перезаписи
сохраняются. Непредставимые результаты, обязательные неподдерживаемые функции
или недоступный Проводник по-прежнему требуют штатный диалог. ANSI hooks/шаблоны
и Unicode hooks, чей контракт невозможно сохранить, используют штатное окно
даже при включённой опции. Редактируемый пользовательский фильтр можно пропустить
только без потери hooks/шаблонов приложения. Выключение опции возвращает строгую
проверку совместимости дополнительных функций.
По умолчанию пропускаются службы, системные учётные записи, критические
процессы, AppContainer, дочерние процессы Chromium и сам Windhawk.
Отдельные программы можно исключить на вкладке «Дополнительно».
Окно выбора является обычным окном Проводника: размер, история переходов
и недавние папки обрабатываются Проводником как в других окнах папок.
Отключение мода отменяет открытые окна выбора и освобождает его окна и потоки.
Приложения сохраняют исходные COM-объекты диалогов Windows.
Надписи на нижней панели и тексты сообщений следуют языку интерфейса Windows:
в русской Windows - по-русски, в остальных - как в английском стандартном окне
выбора файла. Подписи, переданные приложением, сохраняют его язык. При уведомлении
Windows об изменении настроек стандартные подписи панели обновляются. Шрифт и
отступы следуют DPI окна; длинные подписи переносятся, а высота строк увеличивается,
чтобы текст помещался в элементах.
Проверено только на Windows 11 24H2 (сборка 26100). На других версиях Windows мод не проверялся и может не работать.