<div>Hi all,</div>  <div>&nbsp;</div>  <div>I've built an application following the "SDI_Instructions" under "Examples\GUI\Win32\vtkMFC", and I want to add&nbsp;an observer for handling double click (I did not use the vtkMFCWindow class).&nbsp; I placed the callback at the CView derived class i.e.</div>  <div>.</div>  <div>.</div>  <div>.</div><FONT color=#0000ff size=2>  <div>void</FONT><FONT size=2> CvtksdiView::Pipeline()</div>  <div>{</div></FONT><FONT color=#0000ff size=2>  <div>...</div>  <div>}</div>  <div>...</div>  <div>static</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> handle_double_click(vtkObject* obj, </FONT><FONT color=#0000ff size=2>unsigned</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>long</FONT><FONT size=2>, </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2>*, </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2>*)</div>  <div>{</div>  <div>vtkWin32RenderWindowInteractor* iren =
 vtkWin32RenderWindowInteractor::SafeDownCast(obj);</div>  <div></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2>(iren &amp;&amp; iren-&gt;GetRepeatCount())</div>  <div>{</div>  <div>AfxMessageBox("Double Click");</div>  <div>}</div>  <div>}</div></FONT><FONT color=#0000ff size=2>  <div>void</FONT><FONT size=2> CvtksdiView::OnInitialUpdate()</div>  <div>{</div>  <div>CView::OnInitialUpdate();</div>  <div></FONT><FONT color=#008000 size=2>// get double click events</div></FONT><FONT size=2>  <div>vtkCallbackCommand* callback = vtkCallbackCommand::New();</div>  <div>callback-&gt;SetCallback(handle_double_click);</div>  <div></FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2>-&gt;renWin-&gt;GetInteractor()-&gt;AddObserver(vtkCommand::LeftButtonPressEvent, callback, 1.0);</div>  <div></FONT><FONT color=#008000 size=2>// TODO: Add your specialized code here and/or call the base class</div></FONT><FONT size=2>  <div>}</div>  <div>&nbsp;</div>  <div>this however did
 not work. Have I done this the wrong way, or should&nbsp;I place the callback somewhere else.</div>  <div>&nbsp;</div>  <div>Thanks in advance</div></FONT><p>
                <hr size=1>How low will we go? Check out Yahoo! Messenger’s low <a href="http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com"> PC-to-Phone call rates.