mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 07:28:19 +00:00
[MMSYS] Add the OFN_EXPLORER flag to the Browse for sound dialog. (#3460)
This commit is contained in:
parent
ac4b506eab
commit
8b6e5e87c3
1 changed files with 1 additions and 1 deletions
|
@ -1151,7 +1151,7 @@ SoundsDlgProc(HWND hwndDlg,
|
||||||
LoadStringW(hApplet, IDS_BROWSE_FOR_SOUND, szTitle, _countof(szTitle));
|
LoadStringW(hApplet, IDS_BROWSE_FOR_SOUND, szTitle, _countof(szTitle));
|
||||||
ofn.lpstrTitle = szTitle;
|
ofn.lpstrTitle = szTitle;
|
||||||
ofn.lpstrInitialDir = L"%SystemRoot%\\Media";
|
ofn.lpstrInitialDir = L"%SystemRoot%\\Media";
|
||||||
ofn.Flags = OFN_FILEMUSTEXIST | OFN_HIDEREADONLY;
|
ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY;
|
||||||
|
|
||||||
if (GetOpenFileNameW(&ofn) != FALSE)
|
if (GetOpenFileNameW(&ofn) != FALSE)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue