added missing Pops
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5384 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
650c2e8f49
commit
577d45b455
1 changed files with 6 additions and 0 deletions
|
@ -45,12 +45,16 @@ FunctionEnd
|
||||||
|
|
||||||
Function OnClick
|
Function OnClick
|
||||||
|
|
||||||
|
Pop $0 # HWND
|
||||||
|
|
||||||
MessageBox MB_OK clicky
|
MessageBox MB_OK clicky
|
||||||
|
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
Function OnChange
|
Function OnChange
|
||||||
|
|
||||||
|
Pop $0 # HWND
|
||||||
|
|
||||||
System::Call user32::GetWindowText(i$EDIT,t.r0,i${NSIS_MAX_STRLEN})
|
System::Call user32::GetWindowText(i$EDIT,t.r0,i${NSIS_MAX_STRLEN})
|
||||||
|
|
||||||
${If} $0 == "hello there"
|
${If} $0 == "hello there"
|
||||||
|
@ -68,6 +72,8 @@ FunctionEnd
|
||||||
|
|
||||||
Function OnCheckbox
|
Function OnCheckbox
|
||||||
|
|
||||||
|
Pop $0 # HWND
|
||||||
|
|
||||||
MessageBox MB_OK "checkbox clicked"
|
MessageBox MB_OK "checkbox clicked"
|
||||||
|
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue