Udostępnij za pośrednictwem


COleControl::ResetVersion

Initializes the version number to specified value.

void ResetVersion( 
   DWORD dwVersionDefault  
);

Parameters

  • dwVersionDefault
    The version number to be assigned to the control.

Remarks

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.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

COleControl::ResetStockProps

COleControl::SerializeVersion

Other Resources

COleControl Members