[vtkusers] vtkRenderWindowInteractor does not process key events

David Cole david.cole at kitware.com
Thu Mar 29 19:07:10 EDT 2007


On 3/29/07, Daniel Lüken <d.lueken at stud.fh-dortmund.de> wrote:
> Thanks! That worked!

Great -- glad it helped...


> ...
> switch(message)
> {
> ...
> case WM_SETFOCUS:
> SetFocus(theVTKApp->getWnd());

BE CAREFUL, now.... (If getWnd() returns 0 you will be setting focus
to the Windows desktop...! Probably not going to happen, but probably
not what you want if it does happen...)


:-)
David



More information about the vtkusers mailing list