From 9a70ac47c9565629090cfed8c5d139771d75f69d Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 22 Sep 2000 09:38:35 +0000 Subject: [PATCH] Closing the About box now returns focus to the config box, and likewise closing the Licence box returns focus to the About box git-svn-id: svn://svn.tartarus.org/sgt/putty@611 cda61777-01e9-0310-a592-d414129be87e --- windlg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/windlg.c b/windlg.c index 9db775f2..ca869141 100644 --- a/windlg.c +++ b/windlg.c @@ -478,6 +478,7 @@ static int CALLBACK AboutProc (HWND hwnd, UINT msg, DialogBox (hinst, MAKEINTRESOURCE(IDD_LICENCEBOX), NULL, LicenceProc); EnableWindow(hwnd, 1); + SetActiveWindow(hwnd); return 0; } return 0; @@ -1467,6 +1468,7 @@ static int CALLBACK MainDlgProc (HWND hwnd, UINT msg, DialogBox(hinst, MAKEINTRESOURCE(IDD_ABOUTBOX), GetParent(hwnd), AboutProc); EnableWindow(hwnd, 1); + SetActiveWindow(hwnd); } return GenericMainDlgProc (hwnd, msg, wParam, lParam, MAIN_NPANELS, mainp, &page); -- 2.11.0