CheckRadioButton function user32
Adds a check mark to (checks) a specified radio button in a group and removes a check mark from (clears) all other radio buttons in the group.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-checkradiobutton.
Implementation
Win32Result<bool> CheckRadioButton(
HWND hDlg,
int nIDFirstButton,
int nIDLastButton,
int nIDCheckButton,
) {
final result_ = CheckRadioButton_Wrapper(
hDlg,
nIDFirstButton,
nIDLastButton,
nIDCheckButton,
);
return .new(value: result_.value.i32 != FALSE, error: result_.error);
}