Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 4

Custom Button in a Standard Dialog


Installscript Project

I have added a custom button on the SdShowInfoList Dialog and calling this dialog as CustomSdShowInfoList Dialog.

I copied the standard code for SdShowInfoList dialog and made minor modifications i.e. added
CUSTOMBUTTON case in Switch statement.

The problem is that I am not able to disable this CUSTOMBUTTON using Disable(CUSTOMBUTTON).

Any suggestion on how to disable it.

Labels (1)
0 Kudos
(1) Reply
Flexera Alumni

The Disable function works only on some predefined buttons; for custom buttons, you can call the EnableWindow API function, for examples of which see SdCustInfoDlg.rul, SdRegisterUserDlg.rul, and other source files for the standard dialog boxes.
0 Kudos