Disable/select Radio buttons
I seem to have my stupid day, because I can't find out how to disable and preselect radio buttons on a custom page 🙁 . Could someone hint me to the right part of the manual or give a short description? Thanks a lot.
Are we talking InstallOptions or nsDialogs? InstallOptions has the DISABLED flag and STATE value for selection. nsDialogs requires EnableWindow and BM_SETCHECK.
I have another question concerning this topic: How do I hide a radio button completely? Deleating the whole field would also be acceptable.
And while I'm at it, how do I skip pages in MUI?
Use ShowWindow with ${SW_HIDE} to hide a control. Removing the INI field at run time will have no effect while the page is being displayed.
To skip any page, call Abort in the page's pre function.
The forums has many examples of these two methods.
Stu