Debian Codegraph @

Contrib/Banner/Readme.txt

raw
1 BANNER PLUG-IN
2 --------------
3
4 The Banner plug-in shows a banner with customizable text. It uses the IDD_VERIFY dialog of the UI.
5
6 There are three functions - show, getWindow and destroy.
7
8 Usage
9 -----
10
11 Banner::show "Text to show"
12
13 [optional] Banner::getWindow
14
15 Banner::destroy
16
17 See Example.nsi for an example.
18
19 Modern UI
20 ---------
21
22 The Modern UI has two labels on the IDD_VERIFY dialog. To change all the texts, use:
23
24 Banner::show /set 76 "Text 1 (replaces Please wait while Setup is loading...)" "Normal text"
25
26 Custom UI
27 ---------
28
29 If you have more labels on your IDD_VERIFY dialog, you can use multiple /set parameters to change the texts.
30
31 Example:
32
33 Banner::show /set 76 "bah #1" /set 54 "bah #2" "Normal text"
34
35 The second parameter for /set is the ID of the control.
36
37 Some More Tricks
38 ----------------
39
40 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.
41
42 If you use an empty string as the main string (Banner::show "") the banner window will not show on the taskbar.
43
44 Credits
45 -------
46
47 A joint effort of brainsucker and kichik in honor of the messages dropped during the battle