Fixed resize bug.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3400 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
icemank 2004-01-20 17:00:48 +00:00
parent 6206755ccf
commit fb4683b51b
2 changed files with 17 additions and 6 deletions

View file

@ -749,6 +749,11 @@ BOOL CALLBACK DialogResize(HWND hWnd, LPARAM /* unused */)
break;
}
}
else {
RECT r2;
GetWindowRect(g_toolbar.hwnd, &r2);
SetWindowPos(hWnd, 0, 0, 0, r.right - r.left + g_resize.dx, r2.bottom-r2.top, SWP_NOMOVE|SWP_NOZORDER);
}
RedrawWindow(hWnd,NULL,NULL,RDW_INVALIDATE);
return TRUE;
}