SpIsControlEnabled
From EDM2
This function returns the state (enabled/disabled) of the specified item in the dialog template within a dialog box.
Syntax: enabled = spIsControlEnabled ( hwndDlg , id )
Parameters:
- hwndDlg – Dialog window handle.
- id - Identity of the specified item.
- Returns: True (1) – Specified item is enabled.
- False (0) – Specified item is disabled.