Button_GetCheck macro (windowsx.h)

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

Syntax

void Button_GetCheck(
   hwndCtl
);

Parameters

hwndCtl

Type: HWND

A handle to the button control.

Return value

None

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header windowsx.h