event log window appears or disappears.
git-svn-id: http://svn.tartarus.org/sgt/putty@892
cda61777-01e9-0310-a592-
d414129be87e
case IDOK:
case IDCANCEL:
logbox = NULL;
+ SetActiveWindow(GetParent(hwnd));
DestroyWindow (hwnd);
return 0;
case IDN_COPY:
return 0;
case WM_CLOSE:
logbox = NULL;
+ SetActiveWindow(GetParent(hwnd));
DestroyWindow (hwnd);
return 0;
}
hwnd, LogProc);
ShowWindow (logbox, SW_SHOWNORMAL);
}
+ SetActiveWindow(logbox);
}
void showabout (HWND hwnd) {