Partager via


CMFCDropDownToolbarButton::Serialize

Reads this object from an archive or writes it to an archive.

virtual void Serialize(
   CArchive& ar
);

Parameters

  • [in] ar
    The CArchive object from which or to which to serialize.

Remarks

This method extends the base class implementation (CMFCToolBarButton::Serialize) by serializing the resource ID of the parent toolbar. When the archive is loading (CArchive::IsLoading returns a nonzero value), this method sets the m_pToolBar data member to the toolbar that contains the serialized resource ID.

Requirements

Header: afxdropdowntoolbar.h

See Also

Reference

CMFCDropDownToolbarButton Class

Hierarchy Chart

CMFCToolBarButton::Serialize

CArchive::IsLoading