Added new function LockWindow for flickering problems workaround, fixed crash on NSISdl, fixed focus button redraw
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3115 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
a97fc1a9b2
commit
48a62f51e8
11 changed files with 89 additions and 31 deletions
|
@ -1557,6 +1557,15 @@ static int NSISCALL ExecuteEntry(entry *entry_)
|
|||
}
|
||||
break;
|
||||
#endif//NSIS_CONFIG_COMPONENTPAGE
|
||||
|
||||
#ifdef NSIS_LOCKWINDOW_SUPPORT
|
||||
case EW_LOCKWINDOW:
|
||||
{
|
||||
SendMessage(g_hwnd, WM_SETREDRAW, parm0 && ui_dlg_visible, 0);
|
||||
if ( parm0 )
|
||||
InvalidateRect(g_hwnd, NULL, FALSE);
|
||||
}
|
||||
#endif //NSIS_LOCKWINDOW_SUPPORT
|
||||
}
|
||||
|
||||
g_exec_flags.exec_error += exec_error;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue