Skip to content
⌘ NSIS Forum Archive

MUI: visibility of controls on custom page

2 posts

torikx#

MUI: visibility of controls on custom page

Hi,
I'd like a group of controls(fields) to be visible on a custom page when the user selects, say, a check box; otherwise stay invisible (sort of providing a set of options to be configured when Advanced is selected). Is this possible? Sort of a VISIBLE flag? Any other way to achieve this effect?
thx
kichik#
Using the NOTIFY flag, you can get notification when a check box is clicked. When you get those notifications, you can hide or show controls using GetDlgItem and ShowWindow. See Contrib\InstallOptions\testnotify.nsi for an example.