Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] How to hook the "Ctrl+Win" key

Hi,
 
  I am using Windows and have the keyboard with "WIN" keys. I can hook the "Ctrl+Win" key using C++ or even _javascript_, but I find some difficulties in using the KeyListener of SWT.
 
The keycode of "Ctrl+Win" key is about 91 or 92, while the Ctrl + Z has the keycode of 90.
 
I found that the  
public void keyReleased(KeyEvent e) {}
and  
public void keyPressed(KeyEvent e) {}
did not listen on the "Ctrl+Win“ actually.
 
Is there any other way to hook the "Ctrl+Win", or is it impossible to do so?
 
Janyckee



Back to the top