Added EnableWindow

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2727 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-07-16 22:36:18 +00:00
parent 6981f2a107
commit 2adb778918
4 changed files with 15 additions and 1 deletions

View file

@ -796,7 +796,10 @@ static int NSISCALL ExecuteEntry(entry *entry_)
break;
case EW_SHOWWINDOW:
if (parm2) log_printf("HideWindow");
ShowWindow((HWND)process_string_fromparm_toint(0),process_string_fromparm_toint(1));
if (!parm3)
ShowWindow((HWND)process_string_fromparm_toint(0),process_string_fromparm_toint(1));
else
EnableWindow((HWND)process_string_fromparm_toint(0),process_string_fromparm_toint(1));
break;
#endif//NSIS_CONFIG_ENHANCEDUI_SUPPORT
#endif//NSIS_SUPPORT_HWNDS