Programming |  Windows Programming |  Button_GetState

Button_GetState

Gets the check state of a radio button or check box. You can use this macro or send the BM_GETSTATE message explicitly.

Syntax

    LRESULT Button_GetState(
        HWND hwndCtl
    );

Parameters

Return Value

The return value specifies the current state of the button. You can use the following values to extract information about the state.

Remarks

If the button has a style other than those listed, the return value is zero.

Macro Information