diff --git a/Docs/src/ui.but b/Docs/src/ui.but index 92f8e54c..0598f27f 100644 --- a/Docs/src/ui.but +++ b/Docs/src/ui.but @@ -42,7 +42,7 @@ Enables or disables mouse and keyboard input to the specified window or control. \c user_var(hwnd output) windowclass [windowtitle] [windowparent] [childafter] -Searches for a window. Behaves like Win32's FindWindowEx(). Searches by windowclass (and/or windowtitle if specified). If windowparent or childafter are specified, the search will be restricted as such. If windowclass or windowtitle is specified as "", they will not be used for the search. If the window is not found the user variable is set to 0. To accomplish old-style \R{findwindow}{FindWindow} behavior, use \R{findwindow}{FindWindow} with \R{sendmessage}{SendMessage}. +Searches for a window. Behaves like Win32's FindWindowEx(). Searches by windowclass (and/or windowtitle if specified). If windowparent or childafter are specified, the search will be restricted as such. If windowclass or windowtitle is specified as "", they will not be used for the search. If the window is not found the user variable is set to 0. \c FindWindow $1 "#32770" "" $HWNDPARENT # Finds the inner dialog \c FindWindow $2 "EDIT" "" $1 # Finds the first edit control in the inner dialog diff --git a/Docs/src/usefulinfos.but b/Docs/src/usefulinfos.but index 6e21cc73..dc109df8 100644 --- a/Docs/src/usefulinfos.but +++ b/Docs/src/usefulinfos.but @@ -10,7 +10,7 @@ Like other applications, installers made by NSIS return error levels as a result \b 2 - Installation aborted by script -As of NSIS 2.01, you can set the error level to other values using \R{seterrorlevel}{SetErrorLevel}. +You can set the error level to other values using \R{seterrorlevel}{SetErrorLevel}. Note that uninstallers copy themselves to the temporary directory and execute from there so the original uninstaller can be deleted. This means the error level the uninstaller sets is not available to the executing process, unless it simulates this copy process and executes the copied uninstaller. To simulate this process, use: