How to set subsection always expanded?
How to set subsection always expanded (not only by default)? It must not be readonly (user can select/deselect it).
Thanks.
Archive: How to set subsection always expanded?
How to set subsection always expanded?
How to set subsection always expanded (not only by default)? It must not be readonly (user can select/deselect it).
Thanks.
Use /e in the SubSection command, as described in the NSIS Users Manual:
http://nsis.sourceforge.net/Docs/Chapter4.html#4.6.1.5
This command allows subsection to be expanded (unexpanded). How to prevent this (i.e. subsection must be ALWAYS expanded).
I didnt try this but it may be possible to set the SF_EXPAND flag in the .OnSelChange callback function
It works, but not the right way.
code:
SubSection /e "name" SEC00
Section "name2" SEC01
..<other sections>
SectionEnd
SubsectionEnd
Function .OnSelChange
SectionSetFlags ${SEC00} 32
FunctionEnd