Commit d0fac61c authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

comdlg32: Initially focus filename text box.

parent d37f4121
...@@ -2065,7 +2065,10 @@ static LRESULT on_wm_initdialog(HWND hwnd, LPARAM lParam) ...@@ -2065,7 +2065,10 @@ static LRESULT on_wm_initdialog(HWND hwnd, LPARAM lParam)
if(This->filterspec_count) if(This->filterspec_count)
events_OnTypeChange(This); events_OnTypeChange(This);
return TRUE; if ((hitem = GetDlgItem(This->dlg_hwnd, IDC_FILENAME)))
SetFocus(hitem);
return FALSE;
} }
static LRESULT on_wm_size(FileDialogImpl *This) static LRESULT on_wm_size(FileDialogImpl *This)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment