That didn&#39;t work, instead I moved the Selectable check further up, like so:<br><br>  // Set the cursor appropriately<br>--&gt;  if ( self-&gt;Selectable &amp;&amp; self-&gt;WidgetState == vtkBorderWidget::Start ) <br>    {<br>

    int stateBefore = self-&gt;WidgetRep-&gt;GetInteractionState();<br>    self-&gt;WidgetRep-&gt;ComputeInteractionState(X, Y);<br>    int stateAfter = self-&gt;WidgetRep-&gt;GetInteractionState();<br>    self-&gt;SetCursor(stateAfter);<br>

<br>---&gt;    if ( stateAfter != vtkBorderRepresentation::Inside )<br><br>Now the mouse doesn&#39;t change cursor either, which is good.<br><br>I&#39;m not sure if that is correct, theres this bit of code further down:<br>

<br>  if(!self-&gt;Resizable &amp;&amp; <br>    self-&gt;WidgetRep-&gt;GetInteractionState() != vtkBorderRepresentation::Inside)<br>    {<br>    return;<br>    }<br><br>I don&#39;t want it resizable either.  It doesn&#39;t appear to be...<br>

<br>cheers<br>Paul<br><br><br><div class="gmail_quote">On 19 April 2010 03:39, Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Definitely a bug.<br>
<br>
In Widgets/vtkBorderWidget.cxx<br>
find the line<br>
if ( self-&gt;Selectable || stateAfter != vtkBorderRepresentation::Inside )<br>
and change it to<br>
if ( !self-&gt;Selectable || stateAfter != vtkBorderRepresentation::Inside )<br>
<br>
I think you will be the behaviour you expect. I&#39;m not sure this is the<br>
proper fix. I would rather see a MovableOn/Off method.<br>
<br>
MovingOn/Off is used internally by the widget. I don&#39;t think the user<br>
should touch this.<br>
<br>
Bill<br>
<div><div></div><div class="h5"><br>
On Fri, Apr 16, 2010 at 5:27 AM, Paul Harris &lt;<a href="mailto:harris.pc@gmail.com">harris.pc@gmail.com</a>&gt; wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I&#39;m trying to set up a Logo but I can&#39;t seem to turn off the interaction.<br>
&gt;<br>
&gt; bits of the code:<br>
&gt;<br>
&gt;  widget-&gt;SetInteractor(interactor);<br>
&gt;  widget-&gt;SetRepresentation(rep);<br>
&gt;  widget-&gt;SetSelectable(0);<br>
&gt;  widget-&gt;SetResizable(0);<br>
&gt;  widget-&gt;On();<br>
&gt;<br>
&gt; with this code, I can still drag the logo around with my mouse!<br>
&gt;<br>
&gt; Please help,<br>
&gt; Paul<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br>