[NOTEPAD][WORDPAD][MSPAINT]... Use newer file open dialog (#3571)

Use new-style file open/save-as dialog.
- Add OFN_EXPLORER flag to OPENFILENAME structure in notepad, wordpad, mspaint, clipbrd, mmc, mplay32, mscutils, regedit, winhlp32, progman, shellbtrfs, cryptui, shell32, setupapi, vgafontedit, infinst, and vfdlib modules.
This commit is contained in:
Katayama Hirofumi MZ 2021-04-01 22:50:32 +09:00 committed by GitHub
parent 7e6550b35e
commit bebdfda8b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 26 additions and 22 deletions

View file

@ -69,7 +69,7 @@ DIALOG_Browse(HWND hWnd, LPCWSTR lpszzFilter, LPWSTR lpstrFile, INT nMaxFile)
openfilename.lpstrFile = lpstrFile;
openfilename.nMaxFile = nMaxFile;
openfilename.lpstrInitialDir = szDir;
openfilename.Flags = 0;
openfilename.Flags = OFN_EXPLORER;
openfilename.lpstrDefExt = L"exe";
openfilename.lpstrCustomFilter = NULL;
openfilename.nMaxCustFilter = 0;