VirtualBox

Ignore:
Timestamp:
May 2, 2013 1:47:22 PM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: hopefully support AltGr correctly in the host combination editor on Windows hosts, burn fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIHostComboEditor.cpp

    r45876 r45877  
    407407    Assert(   pMsg->message == WM_KEYDOWN || pMsg->message == WM_SYSKEYDOWN
    408408           || 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)
    411411        return false;
    412412    if (!PeekMessage(&peekMsg, NULL, WM_KEYFIRST, WM_KEYLAST, PM_NOREMOVE))
     
    418418        && (peekMsg.message != WM_KEYUP && peekMsg.message != WM_SYSKEYUP))
    419419        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))
    422422        return false;
    423423    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.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette