Search code examples
winformsinstallationnsisnsdialogs

Invisible form fields in NSIS?


Is it possible to create invisible form fields in an NSIS installer? I'm using nsDialogs and currently have a checkbox that toggles some fields from to readonly/non-readonly by using:

SendMessage $TextBox1 ${EM_SETREADONLY} 1 0

I'd like to make this control visible / not visible. Is this possible? How?


Solution

  • ShowWindow $handle <0|1>