Поделиться через


CWnd::GetCheckedRadioButton

Retrieves the ID of the currently checked radio button in the specified group.

int GetCheckedRadioButton(
   int nIDFirstButton,
   int nIDLastButton 
);

Параметры

  • nIDFirstButton
    Specifies the integer identifier of the first radio button in the group.

  • nIDLastButton
    Specifies the integer identifier of the last radio button in the group.

Возвращаемое значение

ID of the checked radio button, or 0 if none is selected.

Требования

Header: afxwin.h

См. также

Основные понятия

CWnd Class

CWnd Members

Hierarchy Chart

CWnd::CheckRadioButton