COleControl::OnResetState

virtual void OnResetState( );

Remarks

Called by the framework when the control’s properties should be set to their default values. The default implementation calls DoPropExchange, passing a CPropExchange object that causes properties to be set to their default values.

The control writer can insert initialization code for the OLE control in this overridable. This function is called when IPersistStream::Load or IPersistStorage::Load fails, or IPersistStreamInit::InitNew or IPersistStorage::InitNew is called, without first calling either IPersistStream::Load or IPersistStorage::Load.

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::OnSetClientSite