Huw Davies : oledlg: Set initial focus to the display list.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Oct 20 04:46:03 CDT 2006
Module: wine
Branch: master
Commit: e898890241b9d617239423d36e22cad3d9e11fc3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e898890241b9d617239423d36e22cad3d9e11fc3
Author: Huw Davies <huw at 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))
More information about the wine-cvs
mailing list