[vtkusers] VTK tutorial, step 5 (Cone5), OSX-Cocoa: fails to  capture keyboard events
    Sean McBride 
    sean at rogue-research.com
       
    Thu Mar 19 18:55:50 EDT 2009
    
    
  
On 3/19/09 3:48 PM, Darren Weber said:
>What about lines 501-503 in vtkCocoaRenderWindow.mm, ie:
>
>    [theWindow makeKeyAndOrderFront:nil];
>    [theWindow setAcceptsMouseMovedEvents:YES];
>
>What happens if they are changed to:
>
>    [theWindow makeKeyAndOrderFront:YES];
>    [theWindow setAcceptsMouseMovedEvents:YES];
>
>Does that break anything?
Are we talking about something entirely different now?  IAC, That would
be a bad change.  makeKeyAndOrderFront: does not take a boolean, it
takes a pointer to an object.
-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada
    
    
More information about the vtkusers
mailing list