fixed bug #1400995 - MB_TOPMOST doesn't work as first sections' instruction
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4534 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
8e9a79a4b7
commit
2af8b64f00
1 changed files with 11 additions and 0 deletions
|
@ -1506,6 +1506,17 @@ static DWORD WINAPI install_thread(LPVOID p)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// workaround for bug #1400995
|
||||||
|
//
|
||||||
|
// for an unexplained reason, MessageBox with MB_TOPMOST
|
||||||
|
// will fail, if no other messages were sent from this
|
||||||
|
// thread to the GUI thread before it.
|
||||||
|
//
|
||||||
|
// the source of the problem couldn't be found, so a
|
||||||
|
// WM_NULL is sent to work around it.
|
||||||
|
|
||||||
|
NotifyCurWnd(WM_NULL);
|
||||||
|
|
||||||
while (m_inst_sec--)
|
while (m_inst_sec--)
|
||||||
{
|
{
|
||||||
#ifdef NSIS_CONFIG_COMPONENTPAGE
|
#ifdef NSIS_CONFIG_COMPONENTPAGE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue