how to get the WindowResizeEvent in the old version of VTK which not have vtkCommand::WindowResizeEvent...

how to get the WindowResizeEvent in the old version of VTK which not have vtkCommand::WindowResizeEvent…
eg. in VKT 8.1, there is no vtkCommand::WindowResizeEvent…at this version, how to get the event when resize the window? inherit a new class from vtkWin32OpenGLRenderWindow and overrider SetSize, create its instance?

int vtkWin32RenderWindowInteractor::OnSize(HWND, UINT, int X, int Y)
{
this->UpdateSize(X,Y);
if (this->Enabled)
{
return this->InvokeEvent(vtkCommand::ConfigureEvent, NULL);
}
return 0;
}

so can use ConfigureEvent in vtkWin32RenderWindowInteractor ?

That event was added in 8.2; making it available in 8.1 probably isn’t all that feasible. I suppose that inheriting would let you intercept it if it got into the object factory pipeline.

thanks