[vtkusers] How to capture mouse events in VTK
shijith
shijith at ddd.co.jp
Mon Oct 18 04:43:05 EDT 2004
Hi Ingo,
Thanks for your reply.
I have found an MFC example (vtkMDI).
but while on lbuttondown, it doesnt go into 'case WM_LBUTTONDOWN:' of
winproc function.
do i miss something?
Thanks in advance.
shijith
-----Original Message-----
From: de Boer Ingo [mailto:I.deBoer at polytec.de]
Sent: Monday, October 18, 2004 4:33 PM
To: shijith; vtkusers at vtk.org
Subject: RE: [vtkusers] How to capture mouse events in VTK
Hi,
you just have to redirect the messages to VTK in the WinProc
function. Look at the MFC samples which come along with VTK.
greets
Ingo
---
Dr.-Ing. Ingo H. de Boer
Polytec GmbH
Polytec-Platz 1-7, 76337 Waldbronn, Germany
phone: ++49 7243 604 106
fax : ++49 7243 604 255
> Hi,
> I am new to VTK and trying to develop an application in MFC.
> Can any one tell me how to handle the events like mouse move, left
> buttondown in VTK?
> any help would be appreciated.
> Thanks,
> shijith
>
More information about the vtkusers
mailing list