- Patch by Piotr Caban : Select text control content while setting dialog focus.
- CORE-10912 Wine Staging 1.9.4
- Added comments.

svn path=/trunk/; revision=71058
This commit is contained in:
James Tabor
2016-03-26 21:20:55 +00:00
parent e308102f4a
commit b0c749c4ea
+5 -1
View File
@@ -1049,7 +1049,11 @@ static HWND DIALOG_CreateIndirect( HINSTANCE hInst, LPCVOID dlgTemplate,
focus = GetNextDlgTabItem( hwnd, 0, FALSE );
if (!focus) focus = GetNextDlgGroupItem( hwnd, 0, FALSE );
if (focus)
{
if (SendMessageW( focus, WM_GETDLGCODE, 0, 0 ) & DLGC_HASSETSEL)
SendMessageW( focus, EM_SETSEL, 0, MAXLONG );
SetFocus( focus );
}
}
//// ReactOS see 43396, Fixes setting focus on Open and Close dialogs to the FileName edit control in OpenOffice.
//// This now breaks test_SaveRestoreFocus.
@@ -2021,7 +2025,7 @@ DlgDirSelectExW(
/*
* @implemented Modified for ReactOS.
* @implemented Modified for ReactOS. Do not Port Sync!!!
*/
BOOL
WINAPI