Huw Davies : oledlg: Set initial focus to the display list.
Module: wine Branch: master Commit: e898890241b9d617239423d36e22cad3d9e11fc3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e898890241b9d617239423d36e... Author: Huw Davies <huw(a)codeweavers.com> Date: Thu Oct 19 11:24:17 2006 +0100 oledlg: Set initial focus to the display list. --- dlls/oledlg/pastespl.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/dlls/oledlg/pastespl.c b/dlls/oledlg/pastespl.c index d0c0e4c..ece44fd 100644 --- a/dlls/oledlg/pastespl.c +++ b/dlls/oledlg/pastespl.c @@ -440,7 +440,9 @@ static INT_PTR CALLBACK ps_dlg_proc(HWND selection_change(hdlg, ps_struct); - return TRUE; /* use default focus */ + SetFocus(GetDlgItem(hdlg, IDC_PS_DISPLAYLIST)); + + return FALSE; /* use new focus */ } case WM_COMMAND: switch(LOWORD(wp))
participants (1)
-
Alexandre Julliard