Jump to content

SpIsControlEnabled: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Line 9: Line 9:
* False (0) – Specified item is disabled.
* False (0) – Specified item is disabled.


[[Category:The OS/2 API Project]]
[[Category:SpUtils]]

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.