SpIsControlEnabled: Difference between revisions
Appearance
m Martini moved page OS2 API:spIsControlEnabled to OS2 API:SPUTILS:spIsControlEnabled |
m Ak120 moved page OS2 API:SPUTILS:spIsControlEnabled to SpIsControlEnabled |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
* False (0) – Specified item is disabled. | * False (0) – Specified item is disabled. | ||
[[Category: | [[Category:SpUtils]] |
Latest revision as of 19:19, 26 February 2017
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.