Gets the check state of a radio button or check box. You can use this macro or send the BM_GETCHECK message explicitly.
LRESULT Button_GetCheck( HWND hwndCtl );
The return value from a button created with the BS_AUTOCHECKBOX, BS_AUTORADIOBUTTON, BS_AUTO3STATE, BS_CHECKBOX, BS_RADIOBUTTON, or BS_3STATE style can be one of the following.
If the button has a style other than those listed, the return value is zero.