NSIS/Contrib/Banner/Readme.txt
kichik a488b62950 New and improved banner:
- No more crashes
- Responds to messages (and thus redraws itself)
- Doesn't put the main window on the background
- Some new /set tricks by brainsucker


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2909 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-12 16:45:22 +00:00

45 lines
No EOL
1.1 KiB
Text

BANNER PLUG-IN
--------------
The Banner plug-in shows a banner with customizable text. It uses the IDD_VERIFY dialog of the UI.
There are only two functions, show and destroy.
Usage
-----
Banner::show /NOUNLOAD "Text to show"
Banner::destroy
See Example.nsi for an example.
Modern UI
---------
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.
Some More Tricks
----------------
If you use /set to set the main string (IDC_STR, 1030) you can specify a different string for the window's caption and for the main string.
If you use an empty string as the main string (Banner::show /NOUNLOAD "") the banner window will not show on the taskbar.
Credits
-------
A joint effort of brainsucker and kichik in honor of the messages dropped during the battle