[vtkusers] mouse interaction problem

Yasin Alakese y_alakese at hotmail.com
Tue Nov 19 13:38:23 EST 2002


Hi,

I have still problem with this mouse interaction . I used 
vtkHandleMassage2() and SetParentID(), but I don't know how (or where) to 
write (for example) LBUTTONDOWN message.
I mean, in WndProc we give it to vtk;

switch (message)
{
  case WM_LBUTTONDOWN:
  case WM_LBUTTONUP:
  case WM_RBUTTONDOWN:
  case WM_RBUTTONUP:
  case WM_MOUSEMOVE:
  case WM_CHAR:
	vtkHandleMessage(GetSafeHwnd(), message, wParam, lParam);
	break;
}

And now, what? How can i write lbuttondown?
Can somebody help me and tell me how to write these messages.

Hannover

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail




More information about the vtkusers mailing list