Changeset 45877 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 2, 2013 1:47:22 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIHostComboEditor.cpp
r45876 r45877 407 407 Assert( pMsg->message == WM_KEYDOWN || pMsg->message == WM_SYSKEYDOWN 408 408 || pMsg->message == WM_KEYUP || pMsg->message == WM_SYSKEYUP); 409 if ( (( HIWORD(pMsg->lParam) & 0xFF) != 0x1d /* scan code: Control */)410 || HIWORD(pMsg->lParam) & KF_EXTENDED)409 if ( ((RT_HIWORD(pMsg->lParam) & 0xFF) != 0x1d /* scan code: Control */) 410 || RT_HIWORD(pMsg->lParam) & KF_EXTENDED) 411 411 return false; 412 412 if (!PeekMessage(&peekMsg, NULL, WM_KEYFIRST, WM_KEYLAST, PM_NOREMOVE)) … … 418 418 && (peekMsg.message != WM_KEYUP && peekMsg.message != WM_SYSKEYUP)) 419 419 return false; 420 if ( (( HIWORD(peekMsg.lParam) & 0xFF) != 0x38 /* scan code: Alt */)421 || !( HIWORD(peekMsg.lParam) & KF_EXTENDED))420 if ( ((RT_HIWORD(peekMsg.lParam) & 0xFF) != 0x38 /* scan code: Alt */) 421 || !(RT_HIWORD(peekMsg.lParam) & KF_EXTENDED)) 422 422 return false; 423 423 LogRel(("The current event is a left control key event (time: %d). There is a pending right alt key event (time: %d).\n",
Note:
See TracChangeset
for help on using the changeset viewer.