Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Serializes or initializes the state of the COleControl stock properties: Appearance, BackColor, BorderStyle, Caption, Enabled, Font, ForeColor, and Text.
void SerializeStockProps(
CArchive& ar
);
Parameters
- ar
A CArchive object to serialize to or from.
Remarks
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.
Requirements
Header: afxctl.h