<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi, I'm experimenting with vtkChartXY. I tried to set the window size from outside vtk by calling MoveWindow API function on the HWND. But the HWND returned from GetWindowId, see the code below, is null. Is this a bug?<BR>
<BR><FONT size=2 face=Consolas><FONT size=2 face=Consolas>
vtkSmartPointer<vtkContextView> view = <BR>
vtkSmartPointer<vtkContextView>::New();<BR>
view->GetRenderer()->SetBackground(1.0, 1.0, 1.0);<BR>
vtkWin32OpenGLRenderWindow* win = vtkWin32OpenGLRenderWindow::SafeDownCast(view->GetRenderWindow());<BR>
HWND hwnd = win->GetWindowId();<BR>
</FONT></FONT><BR>Thanks!<BR>Xiaofeng Z<BR><BR><BR>                                            </body>
</html>