그룹 섹션 셋팅
Function .onInit
; Setup the group check boxes to be:
; SF_RO: Make Required (already checked)
; SF_SECGRP: Make section group parent (from default settings)
; SF_PSELECTED: Partial selection (default = SF_SELECTED which is not right)
; SF_EXPANDED: Make already expanded
IntOp $0 ${SF_PSELECTED} | ${SF_RO}
IntOp $0 $0 | ${SF_SECGRP}
IntOp $0 $0 | ${SF_EXPAND}
SectionSetFlags ${grp1} $0
SectionSetFlags ${grp2} $0
; Set the pre-selected options
StrCpy $1 ${g1o1}
StrCpy $2 ${g2o1}
!insertmacro StartRadioButtons $1
!insertmacro RadioButton ${g1o1}
!insertmacro RadioButton ${g1o2}
!insertmacro RadioButton ${g1o3}
!insertmacro EndRadioButtons
!insertmacro StartRadioButtons $2
!insertmacro RadioButton ${g2o1}
!insertmacro RadioButton ${g2o2}
!insertmacro EndRadioButtons
FunctionEnd
Function .onSelChange
!insertmacro StartRadioButtons $1
!insertmacro RadioButton ${g1o1}
!insertmacro RadioButton ${g1o2}
!insertmacro RadioButton ${g1o3}
!insertmacro EndRadioButtons
!insertmacro StartRadioButtons $2
!insertmacro RadioButton ${g2o1}
!insertmacro RadioButton ${g2o2}
!insertmacro EndRadioButtons
FunctionEnd
'NIght.. > NSIS' 카테고리의 다른 글
| 그룹 섹션 셋팅 (0) | 2010/05/06 |
|---|---|
| NSIS에서 쓰이는 콜백(CallBack) 함수 (0) | 2009/06/25 |





CSS