*** empty log message ***
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1086 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
9bc51315b4
commit
6b35c69578
7 changed files with 525 additions and 0 deletions
21
Contrib/ShowWin/ShowWin.nsi
Normal file
21
Contrib/ShowWin/ShowWin.nsi
Normal file
|
@ -0,0 +1,21 @@
|
|||
;ShowWin Example
|
||||
|
||||
Name "ShowWin Example"
|
||||
OutFile "ShowWin.exe"
|
||||
|
||||
LicenseText "Hide Richedit Control and disable the cancel button."
|
||||
LicenseData "ShowWin.txt"
|
||||
|
||||
Section ""
|
||||
SectionEnd
|
||||
|
||||
Function .onInitDialog
|
||||
;hide richedit control
|
||||
FindWindow $R1 "#32770" "" $HWNDPARENT
|
||||
GetDlgItem $R1 $R1 1000
|
||||
ShowWin::Hide $R1
|
||||
|
||||
;disable the 'I Agree' button
|
||||
GetDlgItem $R1 $HWNDPARENT 1
|
||||
ShowWin::Disable $R1
|
||||
FunctionEnd
|
Loading…
Add table
Add a link
Reference in a new issue