Compartilhar via


CMFCColorMenuButton::IsEmptyMenuAllowed

Indicates whether empty menus are supported.

virtual BOOL IsEmptyMenuAllowed() const;

Return Value

Nonzero if empty menus are allowed; otherwise, zero.

Remarks

Empty menus are supported by default. Override this method to change this behavior in derived class.

Requirements

Header: afxcolormenubutton.h

See Also

Reference

CMFCColorMenuButton Class

Hierarchy Chart