is_child_checked


unsigned is_child_checked(handle window,
                          int identity)

This function determines if a button window is checked.

Parameters

handle window

The handle of the parent window.

int identity

The identity of the child window whose status is being queried.

Return

unsigned

The value returned from a button created with any of the styles:

can be one of the following.

button_state::checked The button is checked.
button_state::indeterminate The button is in the third state.
button_state::Unchecked The button is unchecked.

If the button has any other style, the return value is zero.

Notes

The state button_state::indeterminate applies only to buttons with the style:

The message button_message::get_check is sent to the child window.