[vtkusers] vtkMDI + SetParentId() + SetWindowId()
Patric Weis
Patric.Weis at Mycrona.de
Thu Mar 4 05:11:21 EST 2004
Yes, I see.
In vtkWin32OpenGLRenderWindow::SetSize() they do not set the horizontal
and vertical extents of the window, if there is no ParentId available.
But you can omitt the explicit call to SetSize() in the sample
CVtkMDIView::OnSize(), or omitt OnSize() completely if possible.
Then it works again.
Patric Weis
MYCRONA
de Boer Ingo schrieb am 04.03.2004 10:39:
>>Just for clarification: You are not forced to use a call to
>>SetParentId() when trying to catch the double click message. It also
>>works fine with a single
>
> Yes, it works...
> But I get trouble in the OnSize... I tried the sample you sent me.
> When I resize my MDI window the H and V scroll bars are corrupted
> and the 'hello world' is under the V scroll bar. So, there seems
> to be some update problem... Which is hopefully not again a ATI
> problem... or would it be better ? ;)
>
> greets
> Ingo
>
> ---
> Dr.-Ing. Ingo H. de Boer
>
> Polytec GmbH
> Polytec-Platz 1-7, 76337 Waldbronn, Germany
> phone: ++49 7243 604 106
> fax : ++49 7243 604 255
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list