Banner now "works" with the MUI too

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2083 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-01-27 15:44:13 +00:00
parent 6f3fdd6650
commit ca8fbc5bec
5 changed files with 49 additions and 2 deletions

View file

@ -1,9 +1,19 @@
Banner.dll shows a banner with customizable text.
There are only two functions, show and destory. Show must be called
There are only two functions, show and destroy. Show must be called
with the /NOUNLOAD flag or else it won't work. Show takes one argument
which is the text to show and destroy takes no arguments.
To use with the MUI use:
Banner::show /NOUNLOAD /set 76 "text to replace Please wait while Setup is loading..." "other text as normal"
You can use multiple /SETs to change the text of multiple labels. For example:
Banner::show /NOUNLOAD /set 76 "bah #1" /set 54 "bah #2" "other text as normal"
The second parameter for /set is the ID of the control that its text should be replaced in the dialog.
Look at Example.nsi for an example.
Created by Amir Szekely (aka KiCHiK)