Hi,
I have created a custom dialog where I let the user select the software that is designed for the .NET framework version they want to install: 1.1 or 2.0.
Since I need to disable any options that are not valid, I want to disable for example the software for .NET 2.0 if that version of the CLR is not available on the machine. I initially wanted to do this using a radiobutton, but since there is no way to disable a single radiobutton I am using checkboxes instead.
If multiple versions of the .NET CLR are available on the machine, I want to tick the checkbox for the most current version, but still allow the user to change.
How do I do that? I have created 2 "INIT" events where I set the property for each checkbox depending on what I find in the registry. This seemed to work, except that the user can no longer check or uncheck a checkbox. They immediately jump beack to their default values. I presume the INIT event is trigger with each control event, and not when the dialog loads?
1) Is there an event available for when the dialog loads? Or where do I need to initialise these values? I can probably do this in the next button of the previous dialog, but then I will have to implement this 4 times: first time install, maintenance, etc..
2) I only want to allow exactly 1 checkbox to be checked. The radiobutton would be perfect for this but as I mentioned above I can't use it. How do I implement the same thing using checkboxes?
3) Also: where can I find more information about the dialog event actions? There are options there like "AddLocal, Remove, DirectoryListUp,.." What does all this mean, where is this explained?
Thanks
Mat