COleControl::ResetVersion

void ResetVersion( DWORD dwVersionDefault );

Parameters

dwVersionDefault

The version number to be assigned to the control. 

Remarks

Call this function to initialize the version number to specified value.

You can improve a control's binary initialization performance by using ResetVersion and ResetStockProps to override COleControl::OnResetState. See the example at ResetStockProps. For further information on optimizing initialization, see ActiveX Controls: Optimization.

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::ResetStockProps, COleControl::SerializeVersion