<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>vtkRenderWindow is not tracking position when
the window is dragged. For vtkWin32OpenGLRenderWindow the following code seems
to do the trick (in the switch statement in the MessageProc). Unfortunately I
know less than nothing about X.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Could someone close to the source make the
appropriate changes to vtkWin32OpenGLRenderWindow and
vtkXRenderWindow</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>case
WM_MOVE:<BR> /* track window position
*/<BR> if (this->ContextId)
<BR>
{<BR> int x = (int)
LOWORD(lParam);<BR> int y
= (int) HIWORD(lParam);
<BR> if
(!(this->ParentId))<BR>
{<BR> x -=
GetSystemMetrics(SM_CXFRAME);<BR>
y -=
(GetSystemMetrics(SM_CYFRAME)+GetSystemMetrics(SM_CYCAPTION));<BR>
}<BR>
this->SetPosition(x,y);<BR>
return 0;<BR>
}</FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Malcolm Drummond<BR>GeoVision cc<BR>Cell
082-822-1153</FONT></DIV></BODY></HTML>