SpQueryButtonCheckstate

From EDM2
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.