共用方式為


CMFCToolBarEditBoxButton::CanBeStretched

Specifies whether a user can stretch the button during customization.

virtual BOOL CanBeStretched() const;

Return Value

This method returns TRUE.

Remarks

By default, the framework does not allow the user to stretch a toolbar button during customization. This method extends the base class implementation (CMFCToolBarButton::CanBeStretched) by allowing the user to stretch an edit box toolbar button during customization.

Requirements

Header: afxtoolbareditboxbutton.h

See Also

Reference

CMFCToolBarEditBoxButton Class

Hierarchy Chart

CMFCToolBarButton::CanBeStretched