<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<BR>I tried nightly build and it's been fixed, Thank you.<BR>
<BR>
Just for the record in case someone ask the same question in future. The vtkWin32RenderWindowInteractor in release 5.0.0 has a problem to catch any mouse event on 64 bits windows. THis problem has been reported as issue 0003227: "vtkRenderWindowsInteractor doesnt work on Windows x64". It's been fixed and the changes can be tracked with 1.100 revision of vtkWin32RenderWindowInteractor in cvs.<BR>
<BR>
<BR>
Nick <BR>> Date: Wed, 24 Oct 2007 14:16:15 -0400<BR>> From: david.cole@kitware.com<BR>> To: nickhuning@hotmail.com<BR>> Subject: Re: [vtkusers] vtkCallbackCommand doesn't work on 64bits Windows<BR>> CC: vtkusers@vtk.org<BR>> <BR>> Are you using VTK 5.0 or VTK from CVS HEAD...?<BR>> <BR>> If you are using 5.0, try updating to CVS HEAD -- this nightly build<BR>> from today demonstrates that CVS HEAD of VTK passes the normal C++<BR>> test suite:<BR>> http://www.vtk.org/Testing/Sites/redwall.kitware/Win64-Vista-vs8-Release/20071024-0300-Nightly/Test.html<BR>> <BR>> <BR>> HTH,<BR>> David Cole<BR>> Kitware, Inc.<BR>> <BR>> <BR>> On 10/24/07, hu ning <nickhuning@hotmail.com> wrote:<BR>> ><BR>> > Hi,<BR>> ><BR>> > I wonder if anyone has experience with vtkCallbackCommand on 64-bit<BR>> > windows.<BR>> ><BR>> > I had an application which involves vtkCallbackCommand with vtkImageViewer,<BR>> > and it works just fine on 32-bit windows. After I moved to 64bits windows<BR>> > (Visual Studio 8 x64), the callback is broken and no matter what I do on the<BR>> > vtk rendering window, the callback don't catch anything.<BR>> ><BR>> > I suspect there is something wrong with the GetWindowLongPtr() in the<BR>> > vtkWin32RenderWindowInteractor class because of long/ptr type changes on 64<BR>> > bit, but I am not a windows guy and couldnot dig into the problem.<BR>> ><BR>> > Can anyone here kindly give me some advice? The way I use<BR>> > vtkCallbackCommand is very standard, just like what is shown in those<BR>> > examples. The vtk version is 5.0.3 release.<BR>> ><BR>> > Thanks,<BR>> ><BR>> > Nick<BR>> > ________________________________<BR>> > R U Ready for Windows Live Messenger Beta 8.5? Try it today!<BR>> > _______________________________________________<BR>> > This is the private VTK discussion list.<BR>> > Please keep messages on-topic. Check the FAQ at:<BR>> > http://www.vtk.org/Wiki/VTK_FAQ<BR>> > Follow this link to subscribe/unsubscribe:<BR>> > http://www.vtk.org/mailman/listinfo/vtkusers<BR>> ><BR>> ><BR><BR><br /><hr />Have fun while connecting on Messenger! <a href='http://entertainment.sympatico.msn.ca/WindowsLiveMessenger' target='_new'>Click here to learn more.</a></body>
</html>