共用方式為


CMFCToolBarEditBoxButton::CopyFrom

Copies the properties of another toolbar button to the current button.

virtual void CopyFrom(
   const CMFCToolBarButton& src
);

Parameters

  • [in] src
    A reference to the source button from which to copy.

Remarks

Call this method to copy another toolbar button to this toolbar button. src must be of type CMFCToolBarEditBoxButton.

Requirements

Header: afxtoolbareditboxbutton.h

See Also

Reference

CMFCToolBarEditBoxButton Class

Hierarchy Chart