Disallow STARTF_USESHOWWINDOW+SW_MAXIMIZE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7289 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
c28ef6a08b
commit
a2641b17d8
9 changed files with 39 additions and 4 deletions
|
@ -633,6 +633,9 @@ INT_PTR CALLBACK DlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
static HFONT hFont=0;
|
||||
switch (uMsg)
|
||||
{
|
||||
case WM_SIZE:
|
||||
if (wParam == SIZE_MAXIMIZED) ShowWindow(hwndDlg, SW_SHOWNOACTIVATE); // Disallow STARTF_USESHOWWINDOW+SW_MAXIMIZE
|
||||
break;
|
||||
case WM_INITDIALOG:
|
||||
g_hwnd=hwndDlg;
|
||||
CheckDlgButton(hwndDlg,IDC_LZMA,BST_CHECKED);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue