共用方式為


CMFCButton::IsCheckBox

Indicates whether a button is a check box button.

BOOL IsCheckBox() const;

Return Value

TRUE if the button has either BS_CHECKBOX or BS_AUTOCHECKBOX style; otherwise, FALSE.

Requirements

Header: afxbutton.h

See Also

Reference

CMFCButton Class

Hierarchy Chart