1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Closing the About box now returns focus to the config box, and likewise

closing the Licence box returns focus to the About box

[originally from svn r611]
This commit is contained in:
Simon Tatham 2000-09-22 09:38:35 +00:00
parent c320531909
commit c89ca570fe

View File

@ -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);