mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 04:54:28 +00:00
comdlg: Select all text when enter is pressed.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b11d7f7482
commit
326a9ea137
|
@ -2552,6 +2552,13 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
|
|||
COMDLG32_SHFree(pidlCurrent);
|
||||
if (filename_is_edit( fodInfos ))
|
||||
SendMessageW(fodInfos->DlgInfos.hwndFileName, EM_SETSEL, 0, -1);
|
||||
else
|
||||
{
|
||||
HWND hwnd;
|
||||
|
||||
hwnd = (HWND)SendMessageA(fodInfos->DlgInfos.hwndFileName, CBEM_GETEDITCONTROL, 0, 0);
|
||||
SendMessageW(hwnd, EM_SETSEL, 0, -1);
|
||||
}
|
||||
}
|
||||
}
|
||||
ret = FALSE;
|
||||
|
|
Loading…
Reference in a new issue