I am trying to display the chosen components on a summary page. I use checkboxes to do this:
${NSD_CreateCheckBox} 0 44u 100% 12u "Component 1"
Pop $chkComp1
${If} ${SectionIsSelected} ${Section1}
${NSD_Check} $chkComp1
${EndIf}Is it possible to set the checkbox read-only? I did this with a textbox:${NSD_CreateText} 0 13u 100% 12u $(summary_text_path)
Pop $txtPath
SendMessage $txtPath ${EM_SETREADONLY} 1 0Unfortunately it seems not to work with checkboxes.
Another idea I had was disabling the checkboxes (EnableWindow $chkComp1 0), but this grays out the boxes and the caption and I don't like the look of it.
My third idea would be using images of checkboxes and putting them next to labels, but I think there is a better way to do this.
Can someone help me out? Thanks in advance!