[Registry Preview] Moving to a different API to call the File Picker (#25260)

* Moving from FileOpenPicker

Moving from FileOpenPicker to a Win32/PInvoke version, so it can be opened while running as Admin.

* Update Resources.resw

Replacing a lost string.

* Save file picker also crashed

Switched to Win32-based SafeFilePicker
Cleaned up some of the code which should now pass spell checking and removed pragmas
This commit is contained in:
Randy
2023-04-11 14:29:40 -07:00
committed by GitHub
parent d0a1e40b5d
commit 1dc013f412
6 changed files with 145 additions and 29 deletions

View File

@@ -132,6 +132,12 @@
<data name="FileSaveError" xml:space="preserve">
<value>The REG file cannot be written to.</value>
</data>
<data name="FilterAllFiles" xml:space="preserve">
<value>All files (*.*)</value>
</data>
<data name="FilterRegistryName" xml:space="preserve">
<value>Registry files (*.reg)</value>
</data>
<data name="InvalidRegistryFile" xml:space="preserve">
<value> doesn't appear to be a valid registry file!</value>
</data>
@@ -153,8 +159,8 @@
<data name="OpenButton.Label" xml:space="preserve">
<value>Open file...</value>
</data>
<data name="OpenButtonText" xml:space="preserve">
<value>Open</value>
<data name="OpenDialogTitle" xml:space="preserve">
<value>Open Registry file...</value>
</data>
<data name="RefreshButton.Label" xml:space="preserve">
<value>Reload from file</value>