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


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 :

!insertmacroSetSectionFlag${index}${SF_RO}

and
!insertmacroSetSectionFlag${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

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.

Ok, thanks, I was lost with flags, I did a mix with SetSectionFlag and ClearSectionFlag.