Readme.txt 1.1 KB

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