<div dir="ltr">Hello!<div><br></div><div style>You heave to get the <span style="font-family:arial,sans-serif;font-size:13px">RenderWindowInteractor from the currently used </span><font face="arial, sans-serif">RenderWindowControl.</font></div>
<div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">I posted here a while ago a C# example (subject: '[vtkusers] Change default mouse buttons') <<a href="http://markmail.org/message/loemzhq2pbldhptg">http://markmail.org/message/loemzhq2pbldhptg</a>></font><span style="font-family:arial,sans-serif"> how to do that.</span></div>
<div style><br></div><div style><br></div><div style><font face="arial, sans-serif">hth</font></div><div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">mirko</font></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Jul 4, 2013 at 11:36 AM, louiskoo <span dir="ltr"><<a href="mailto:419655660@qq.com" target="_blank">419655660@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Yes,you are right.I am using C# and ActiViz.NET .<br>
I have change it as follows.<br>
<br>
button.LeftButtonPressEvt += new<br>
vtkRenderWindowInteractor.vtkObjectEventHandler(button_LeftButtonPressEvt);<br>
<br>
But it doesn't work either.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkButtonSource-vtkRectangularButtonSource-vtkEllipticalButtonSource-tp5721752p5721758.html" target="_blank">http://vtk.1045678.n5.nabble.com/vtkButtonSource-vtkRectangularButtonSource-vtkEllipticalButtonSource-tp5721752p5721758.html</a><br>
<div class=""><div class="h5">Sent from the VTK - Users mailing list archive at Nabble.com.<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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Real programmers don't document; if it was<br>hard to write, it should be hard to understand.
</div></div>