共用方式為


CMFCButton::IsChecked

Indicates whether the current button is checked.

BOOL IsChecked() const;

Return Value

TRUE if the current button is checked; otherwise, FALSE.

Remarks

The framework uses different ways to indicate that different kinds of buttons are checked. For example, a radio button is checked when it contains a dot; a check box is checked when it contains an X.

Requirements

Header: afxbutton.h

See Also

Reference

CMFCButton Class

Hierarchy Chart