Posted 06 July 2004 - 15:38
The 'Enabled' property can be accessed via DevStudio's Dialog editor but I have so far failed to set this programmatically using installscript.
Has anyone discovered how? The alternative of having duplicate dialogs with different statically set properties is just to 'Yuck' to contemplate!!!.
Posted 06 July 2004 - 16:04
Posted 07 July 2004 - 09:09
@jeeves: Add this to your dialog script:
|hwndItem = GetDlgItem( hwndDlg, nControlID );|
if (!IsWindow( hwndItem)) then return FALSE; endif;
EnableWindow( hwndItem, TRUE); // or FALSE to disable
Look at the SdLicense2Dlg.rul for a complete sample.
Posted 07 July 2004 - 09:25
Posted 07 July 2004 - 13:25