[vtkusers] Grab Alt key once again.

Bill Lorensen bill.lorensen at gmail.com
Mon Sep 2 16:08:36 EDT 2013


Your window manager is intercepting the alt click. If you really need
it, then google for a solution on your specific platform.


On Mon, Sep 2, 2013 at 3:39 PM, Mengda Wu <wumengda at gmail.com> wrote:
> Hi all,
>
>    I have similar problem with Alt key on Windows 7 64 bit machine. Does
> anyone know why is that? My guess is the alt key event is not even
> propagated to VTK event handling. The following VTK example page also
> mentioned this issue.
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/ShiftAndControl
>
> Thanks,
> Mengda
>
>
> On Mon, Feb 20, 2012 at 11:57 AM, Jesús Spí­nola <jspinola at gmail.com> wrote:
>>
>> Hi,
>>
>> I want to know when the "Alt" key is pressed so I use
>> vtkRenderWindowInteractor::GetAltKey(), but it seems it only returns true
>> when "AltGr" is pressed. When I press "Alt" key, I always get false.
>> I tested under W7 x64.
>>
>> Is that a bug or should I use another method?
>>
>> Thanks in advance!
>>
>> --
>> Jesús Spínola
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtkusers mailing list