From d14ea54399053ac80290a229ed01ebea9e6af96e Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 27 Dec 2002 21:24:30 +0000 Subject: [PATCH] SendMessage and Return got mixed up git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2008 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/flowcontrol.but | 12 ------------ Docs/src/ui.but | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Docs/src/flowcontrol.but b/Docs/src/flowcontrol.but index 2f055a0b..f61e2902 100644 --- a/Docs/src/flowcontrol.but +++ b/Docs/src/flowcontrol.but @@ -136,18 +136,6 @@ If the return value of the MessageBox is return_check, the installer will Goto j Returns from a function or section. -\b \e{WM_CLOSE} 16 - -\b \e{WM_COMMAND} 273 - -\b \e{WM_USER} 1024 - -Include $\{NSISDIR\}\\Include\\WinMessages.nsh to have all of Windows messages defined in your script. - -To send a string param, put STR: before the parameter, for example: "STR:Some string". - -Use /TIMEOUT=time_in_ms to specify the duration, in milliseconds, of the time-out period. - \S2{quit} Quit Causes the installer to exit as soon as possible. After Quit is called, the installer will exit (no callback functions will get a chance to run). diff --git a/Docs/src/ui.but b/Docs/src/ui.but index 65448f89..3924bdb8 100644 --- a/Docs/src/ui.but +++ b/Docs/src/ui.but @@ -44,6 +44,18 @@ If HWND is a window, Gotos jump_if_window, otherwise, Gotos jump_if_not_window ( Sends a message to HWND. If a user variable $x is specified as the last parameter (or one before the last if you use /TIMEOUT), the return value of SendMessage will be stored to it. Note that when specifying 'msg' you must just use the integer value of the message. If you wish to send strings use "STR:a string" as wParam or lParam where needed. +\b \e{WM_CLOSE} 16 + +\b \e{WM_COMMAND} 273 + +\b \e{WM_USER} 1024 + +Include $\{NSISDIR\}\\Include\\WinMessages.nsh to have all of Windows messages defined in your script. + +To send a string param, put STR: before the parameter, for example: "STR:Some string". + +Use /TIMEOUT=time_in_ms to specify the duration, in milliseconds, of the time-out period. + \S2{setautoclose} SetAutoClose \c true|false