共用方式為


CMFCColorMenuButton::CopyFrom

Copies one CMFCToolBarMenuButton Class-derived object to another.

virtual void CopyFrom(
   const CMFCToolBarButton& src 
);

Parameters

  • [in] src
    Source button to copy.

Remarks

Override this method to copy objects that are derived from the CMFCColorMenuButton object.

Requirements

Header: afxcolormenubutton.h

See Also

Reference

CMFCColorMenuButton Class

Hierarchy Chart