Поделиться через


COleControl::ResetVersion

Initializes the version number to specified value.

void ResetVersion(
   DWORD dwVersionDefault 
);

Параметры

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

Заметки

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.

Требования

Header: afxctl.h

См. также

Основные понятия

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::ResetStockProps

COleControl::SerializeVersion