Changeset 13599 in vbox for trunk/src/VBox/Frontends/VirtualBox4
- Timestamp:
- Oct 27, 2008 7:49:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/QIHotKeyEdit.cpp
r11995 r13599 379 379 switch (aKeyVal) 380 380 { 381 /* Processing special keys... */ 381 382 case VK_RSHIFT: scan = 0x36 << 16; break; 382 383 case VK_RCONTROL: scan = (0x1D << 16) | (1 << 24); break; 383 384 case VK_RMENU: scan = (0x38 << 16) | (1 << 24); break; 385 /* Processing extended keys... */ 386 case VK_APPS: 387 case VK_LWIN: 388 case VK_RWIN: 389 case VK_PAUSE: 390 case VK_NUMLOCK: scan = (::MapVirtualKey (aKeyVal, 0) | 256) << 16; break; 384 391 default: scan = ::MapVirtualKey (aKeyVal, 0) << 16; 385 392 } 386 TCHAR *str = new TCHAR [256];393 TCHAR *str = new TCHAR [256]; 387 394 if (::GetKeyNameText (scan, str, 256)) 388 395 {
Note:
See TracChangeset
for help on using the changeset viewer.