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:
ramon18 2003-11-09 22:45:25 +00:00
parent a97fc1a9b2
commit 48a62f51e8
11 changed files with 89 additions and 31 deletions

View file

@ -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;