Skip to content
⌘ NSIS Forum Archive

Have a section unselected, not in bold and in read only...

3 posts

xilay#

Have a section unselected, not in bold and in read only...

Hello,

Sorry for my english.

In a case, I need to uncheck a section and don't let the user to check the checkBox.

In fact, I need a mix between :
!insertmacro SetSectionFlag ${index} ${SF_RO} 
and
!insertmacro SetSectionFlag ${index} ${SECTION_} 
because for the first, the problem is that the checkBox is checked, and for the second, it's in bold...

Do you know how I can do? I use MUI.

Thanks
kichik#
I don't understand the problem. There should be no problem at all with:
!insertmacro SetSectionFlag ${index} ${SF_RO}
!insertmacro SetSectionFlag ${index} ${SF_BOLD}
They don't affect each other. Each of them affect only one bit of the section flags.