WORK AROUND
Name: pa48320 Date: 01/08/2002
There does not appear to be a workaround. The content menu key appears to return an invalid key code:
java.awt.event.KeyEvent[KEY_PRESSED,keyCode=0,keyChar='?',keyLocation=KEY_LOCATION_STANDARD] on qMain
java.awt.event.KeyEvent[KEY_RELEASED,keyCode=0,keyChar='?',keyLocation=KEY_LOCATION_STANDARD] on qMain
======================================================================
|
EVALUATION
See 4352104 (4290799).
###@###.### 2002-03-21
The three keys of interest seem to be VK_LWIN (91), VK_RWIN (92), and
VK_APPS (93) (from winuser.h). LWIN and RWIN activate the start menu,
and APPS activates the context menu.
winuser.h
#define VK_LWIN 0x5B
#define VK_RWIN 0x5C
#define VK_APPS 0x5D
I tend towards adding Java KeyEvents like VK_WIN and VK_APPS
and using KeyEvent.getLocation to distinguish between the left and right
windows keys.
###@###.### 2003-04-20
|