SpQueryButtonCheckstate

From EDM2
Revision as of 21:45, 26 February 2017 by Ak120 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.