Programming |  Windows Programming |  Button_SetCheck

Button_SetCheck

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

Syntax

    LRESULT Button_SetCheck(
        HWND hwndCtl,
        int check
    );

Parameters

Return Value

The return value is always zero.

Remarks

The macro has no effect on push buttons.

Macro Information