Jump to content

SpQueryButtonCheckstate

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

Returns the checked state of the button control specified.

Syntax: isChecked = spQueryButtonCheckstate ( hwndDlg , buttonID )

Parameters:

  • hwndDlg – Dialog window handle which owns the button to be queried.
  • buttonID – Button control identity.

Returns:

  • 0 – The button control is in unchecked state.
  • 1 – The button control is in checked state.
  • 2 – The button control is in indeterminate state.