[vtkusers] Windows 2000 - Resize

Meintjes Bekker Meintjes at IGS-NT.uovs.ac.za
Wed Jun 14 09:10:59 EDT 2000


Hello All

I've compiled the Sample program on Windows 2000 it works fine except that
the render window does not resize to the full frame/child window, when
everything is maximized. Part of the window on the right and bottom is not
used.

I've tried to solve the problem with but it didn't work.

/*--------------------------------------------------------------------------
*/
/* OnSize                                                              */
/*--------------------------------------------------------------------------
*/
void CVtkView::OnSize(UINT nType, int cx, int cy) 
{
	this->m_Interactor->SetSize(cx, cy);
	this->m_Interactor->UpdateSize(cx, cy);
	CView::OnSize(nType, cx, cy);
}

All ideas are greatly appreciated.

Regards
Meintjes




More information about the vtkusers mailing list