Virtual key mapping

Marcin 'Malcom' Malich malcompl at gmail.com
Tue May 6 08:11:15 PDT 2008



The menu key (shortcut for showing context menu) should be (win/gtk/
x):
WXK_MENU = VK_APPS / GDK_Menu / XK_Menu

But VK_APPS isn't mapped to WXK_MENU on Windows.
And this key code generating right mouse click event in WM_KEYDOWN/
WM_KEYUP, so it makes problematic situation in handling context menu
on custom controlls when the event is generated form keyboard.

Why wx has no left and right version of shift/ctrl/alt?
Win, gtk and x generate this key code, and sometimes it is helpful.

--
Pozdrowienia,
 Marcin 'Malcom' Malich
 me /at/ malcom.pl
 http://malcom.pl


More information about the wx-users mailing list