more info

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2526 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2003-05-02 10:49:52 +00:00
parent 9599e280a5
commit 010e838c2b

View file

@ -1,19 +1,33 @@
Banner.dll shows a banner with customizable text.
BANNER PLUG-IN
--------------
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.
The Banner plug-in shows a banner with customizable text. It uses the IDD_VERIFY dialog of the UI.
To use with the MUI use:
There are only two functions, show and destroy.
Banner::show /NOUNLOAD /set 76 "text to replace Please wait while Setup is loading..." "other text as normal"
Usage
-----
You can use multiple /SETs to change the text of multiple labels. For example:
Banner::show /NOUNLOAD "Text to show"
Banner::show /NOUNLOAD /set 76 "bah #1" /set 54 "bah #2" "other text as normal"
Banner::destroy
The second parameter for /set is the ID of the control that its text should be replaced in the dialog.
See Example.nsi for an example.
Look at Example.nsi for an example.
Modern UI
---------
Created by Amir Szekely (aka KiCHiK)
The Modern UI has two labels on the IDD_VERIFY dialog. To change all the texts, use:
Banner::show /NOUNLOAD /set 76 "Text 1 (replaces Please wait while Setup is loading...)" "Normal text"
Custom UI
---------
If you have more labels on your IDD_VERIFY dialog, you can use multiple /set parameters to change the texts.
Example:
Banner::show /NOUNLOAD /set 76 "bah #1" /set 54 "bah #2" "Normal text"
The second parameter for /set is the ID of the control.