2002-09-20 20:49:09 +00:00
|
|
|
;ShowWin Example
|
|
|
|
|
|
|
|
Name "ShowWin Example"
|
|
|
|
OutFile "ShowWin.exe"
|
|
|
|
|
2002-09-24 13:28:03 +00:00
|
|
|
LicenseText "Hide Richedit Control and disable the 'I agree' button."
|
2002-09-20 20:49:09 +00:00
|
|
|
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
|