implemeneted RFE #1666501 - MakeNSISw: esc -> close

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4951 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-02-23 12:42:21 +00:00
parent cb30b6ed2f
commit 28a3b53b05
4 changed files with 6 additions and 7 deletions

View file

@ -570,7 +570,7 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
}
return TRUE;
}
case IDC_CLOSE:
case IDCANCEL:
case IDM_EXIT:
{
if (!g_sdata.thread) {
@ -752,7 +752,7 @@ BOOL CALLBACK DialogResize(HWND hWnd, LPARAM /* unused */)
SetWindowPos(hWnd, 0, r.left, r.top,r.right - r.left + g_resize.dx, r.bottom - r.top + g_resize.dy, SWP_NOZORDER|SWP_NOMOVE);
break;
case IDC_TEST:
case IDC_CLOSE:
case IDCANCEL:
SetWindowPos(hWnd, 0, r.left + g_resize.dx, r.top + g_resize.dy, 0, 0, SWP_NOZORDER|SWP_NOSIZE);
break;
default: