共用方式為


CMFCButton::IsRadioButton

Indicates whether a button is a radio button.

BOOL IsRadioButton() const;

Return Value

TRUE if the button style is BS_RADIOBUTTON or BS_AUTORADIOBUTTON; otherwise, FALSE.

Requirements

Header: afxbutton.h

See Also

Reference

CMFCButton Class

Hierarchy Chart