<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>There are four view port in the render window.I want to add 
user-defined message to one of them,for exampe add LeftBottonDown Message to the 
axial image.I want to achieve the aim that when I press the left button of the 
mouse ,in the according view port will display the coordinates.I use the 
vtkMFCRenderView to be the base class of my view class.And I add the 
OnLButtonDown() message as follows.</FONT></DIV>
<DIV><FONT size=2>void CMyView::OnLButtonDown(UINT nFlags, CPoint point) 
<BR>{<BR>&nbsp;// TODO: Add your message handler code here and/or call 
default<BR>&nbsp;<BR>&nbsp;//CView::OnLButtonDown(nFlags, point);</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT 
size=2>&nbsp;vtkMFCRenderView::OnLButtonDown(nFlags,point);<BR>}</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>But the result is not changed.What I get is still the 
vtkRenderWindowInteractor control style. I don't know what is the reason?Why it 
doesn't respond my defined message.</FONT></DIV></BODY></HTML>