revert r5314 - if the banner plug-in shows IDD_VERIFY in its own thread and that thread sets it as the foreground window because of the WS_VISIBLE style, the main thread loses the ability to set the foreground window. this causes the installer window to start on the background if banner is used in .oninit.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5915 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
d05741f44e
commit
130074428e
5 changed files with 5 additions and 4 deletions
|
@ -144,6 +144,7 @@ void handle_ver_dlg(BOOL kill)
|
|||
0,
|
||||
verProc
|
||||
);
|
||||
ShowWindow(hwnd, SW_SHOW);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -189,7 +189,7 @@ IDD_VERIFY$(_NSIS_CONFIG_VERIFYDIALOG) DIALOGEX 0, 0, 162, 22
|
|||
#else
|
||||
IDD_VERIFY DIALOGEX 0, 0, 162, 22
|
||||
#endif
|
||||
STYLE DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE
|
||||
STYLE DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP
|
||||
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
||||
BEGIN
|
||||
CTEXT "",IDC_STR,7,7,148,8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue