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:
parent
3e997a75d3
commit
b11d7f7482
|
@ -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 )
|
||||||
|
|
Loading…
Reference in New Issue