Archive: .onSelChange


.onSelChange
is there any way of knowing what section got checked/unchecked last?


Just loop through all Sections and use the SectionFlagIsSet macro from Section.nsh, or ${SectionIsSelected} with LogicLib.nsh, or

SectionGetFlags ${SecID} $R0
IntOp $R0 $R0 & ${SF_SELECTED}
StrCmp $R0 ${SF_SELECTED} IsSelected NotSelected

-Stu