home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 March / CMCD0304.ISO / Software / Freeware / Programare / nullsoft / nsis20.exe / Contrib / Banner / Readme.txt < prev   
Text File  |  2003-09-12  |  1KB  |  45 lines

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