1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-14 09:37:34 -05:00

Set some parent windows on PuTTYgen and Pageant About/Licence dialog to

improve window management behaviour.

[originally from svn r2822]
This commit is contained in:
Jacob Nevins
2003-02-07 14:22:19 +00:00
parent 8c9ac4ac48
commit ae0a12c938
2 changed files with 3 additions and 3 deletions

View File

@ -231,7 +231,7 @@ static int CALLBACK AboutProc(HWND hwnd, UINT msg,
return 0;
case 101:
EnableWindow(hwnd, 0);
DialogBox(instance, MAKEINTRESOURCE(214), NULL, LicenceProc);
DialogBox(instance, MAKEINTRESOURCE(214), hwnd, LicenceProc);
EnableWindow(hwnd, 1);
SetActiveWindow(hwnd);
return 0;