void SerializeStockProps( CArchive& ar );
Parameters
ar
A CArchive object to serialize to or from.
Remarks
Call this function to serialize or initialize the state of the COleControl stock properties: Appearance, BackColor, BorderStyle, Caption, Enabled, Font, ForeColor, and Text. For a description of stock properties, see ActiveX Controls: Adding Stock Properties.
You can improve a control's binary persistence performance by using SerializeStockProps, SerializeExtent, and SerializeVersion to override COleControl::Serialize. For an example, see the code at SerializeExtent. For further information on optimizing initialization, see ActiveX Controls: Optimization.
COleControl Overview | Class Members | Hierarchy Chart
See Also COleControl::SerializeExtent, COleControl::SerializeVersion, COleControl::ResetStockProps