comdlg32: Clear the filename text on OPEN_BROWSE.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2016-08-30 08:00:09 +00:00 committed by Alexandre Julliard
parent 3e997a75d3
commit b11d7f7482
1 changed files with 1 additions and 0 deletions

View File

@ -2541,6 +2541,7 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
&& fodInfos->ofnInfos->Flags & OFN_EXPLORER) && fodInfos->ofnInfos->Flags & OFN_EXPLORER)
{ {
SendCustomDlgNotificationMessage(hwnd, CDN_FOLDERCHANGE); SendCustomDlgNotificationMessage(hwnd, CDN_FOLDERCHANGE);
SendMessageA(fodInfos->DlgInfos.hwndFileName, WM_SETTEXT, 0, (LPARAM)"");
} }
} }
else if( nOpenAction == ONOPEN_SEARCH ) else if( nOpenAction == ONOPEN_SEARCH )