Jump to content

SpIsControlEnabled

From EDM2
Revision as of 19:19, 26 February 2017 by Ak120 (talk | contribs) (Ak120 moved page OS2 API:SPUTILS:spIsControlEnabled to SpIsControlEnabled)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.