This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Custom Button in a Standard Dialog
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 03, 2008
05:57 AM
Custom Button in a Standard Dialog
Hi,
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.
Thanks,
Sachit
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.
Thanks,
Sachit
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 03, 2008
07:27 AM
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.
