<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>Hi, <br>Use GetKeyCode property of RenderWindowInteractor by setting up a callback on KeyPressed event. <br><br>Regards,<br>Rashid<br></div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Andrej Gluhov &lt;realandron@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> vtkusers &lt;vtkusers@vtk.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Fri, April 22, 2011 6:53:53 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [vtkusers] How to check the key is pressed?<br></font><br>
How to check the key(alt, ctrl, shift) is pressed in Callback functions?<br>public void KeyDown(vtkObject caller, uint eventId, object clientData, IntPtr callData)<br>{<br><div style="margin-left:40px;">//What the key was pressed?<br>
</div>}<br clear="all"><br>-- <br>С Уважением,<br>Андрей.<br>Best regards, Andrew<br>
</div></div>



</div></body></html>