<div dir="ltr"><div><div>Hi all,<br><br></div> I have similar problem with Alt key on Windows 7 64 bit machine. Does anyone know why is that? My guess is the alt key event is not even propagated to VTK event handling. The following VTK example page also mentioned this issue.<br>
<br><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/ShiftAndControl">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/ShiftAndControl</a><br><br></div>Thanks,<br>Mengda<br><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Mon, Feb 20, 2012 at 11:57 AM, Jesús Spínola <span dir="ltr"><<a href="mailto:jspinola@gmail.com" target="_blank">jspinola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi,<div><br></div><div>I want to know when the "Alt" key is pressed so I use vtkRenderWindowInteractor::GetAltKey(), but it seems it only returns true when "AltGr" is pressed. When I press "Alt" key, I always get false.</div>
<div>I tested under W7 x64.
</div><div><br></div><div>Is that a bug or should I use another method?</div><div><br></div><div>Thanks in advance!</div><span class=""><font color="#888888"><div><div><br></div>-- <br>Jesús Spínola<br>
</div>
</font></span><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div></div>