2003-01-27 15:44:13 +00:00
|
|
|
# Look at Readme.txt for usage alongside with the Modern UI
|
|
|
|
|
2004-06-17 17:54:48 +00:00
|
|
|
!include "WinMessages.nsh"
|
|
|
|
|
2002-11-24 18:50:31 +00:00
|
|
|
Name "Banner.dll test"
|
|
|
|
|
|
|
|
OutFile "Banner Test.exe"
|
|
|
|
|
2002-12-05 16:52:10 +00:00
|
|
|
ShowInstDetails show
|
|
|
|
|
2002-11-24 18:50:31 +00:00
|
|
|
Function .onInit
|
2008-12-12 19:31:52 +00:00
|
|
|
Banner::show "Calculating important stuff..."
|
2004-06-17 17:54:48 +00:00
|
|
|
|
2008-12-12 19:31:52 +00:00
|
|
|
Banner::getWindow
|
2004-06-17 17:54:48 +00:00
|
|
|
Pop $1
|
|
|
|
|
2002-11-24 18:50:31 +00:00
|
|
|
again:
|
|
|
|
IntOp $0 $0 + 1
|
|
|
|
Sleep 1
|
2009-02-01 00:29:35 +00:00
|
|
|
StrCmp $0 100 0 again
|
2004-06-17 17:54:48 +00:00
|
|
|
|
|
|
|
GetDlgItem $2 $1 1030
|
|
|
|
SendMessage $2 ${WM_SETTEXT} 0 "STR:Calculating more important stuff..."
|
|
|
|
|
|
|
|
again2:
|
|
|
|
IntOp $0 $0 + 1
|
|
|
|
Sleep 1
|
2009-02-01 00:29:35 +00:00
|
|
|
StrCmp $0 200 0 again2
|
2004-06-17 17:54:48 +00:00
|
|
|
|
2002-11-24 18:50:31 +00:00
|
|
|
Banner::destroy
|
|
|
|
FunctionEnd
|
|
|
|
|
|
|
|
Section
|
2002-12-05 16:52:10 +00:00
|
|
|
DetailPrint "Using previous calculations to quickly calculate 1*2000..."
|
|
|
|
Sleep 1000
|
|
|
|
DetailPrint "Eureka! It's $0!!!"
|
|
|
|
DetailPrint ""
|
2002-11-24 18:50:31 +00:00
|
|
|
SectionEnd
|