Previous Up Next

_SETcompCheckState
Sets the new state of a CompCheck.

I _SETcompCheckState (
CompCheck _check_
I _state_
)
Parameters

_check_
any CompCheck
_state_
state of the button can be any the following values :
Value Meaning
CHK_CHECKED button is checked
CHK_UNCHECKED button is unchecked
Return value

1 if state has been successfully changed and 0 if not