Use CreateWindow()either the styleCreateWindowEx() button or to create it. For instance:. BS_RADIOBUTTONBS_AUTORADIOBUTTON
HWND radioButtonHandle = CreateWindow(
TEXT("BUTTON"), TEXT("my radio button"),
WS_CHILD | WS_VISIBLE | BS_RADIOBUTTON,
/* ... */);
source
share