Ignore:
Timestamp:
Oct 24, 2001, 2:27:06 PM (24 years ago)
Author:
phaller
Message:

.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/HOOK.CPP

    r7165 r7190  
    1 /* $Id: HOOK.CPP,v 1.28 2001-10-23 06:22:52 phaller Exp $ */
     1/* $Id: HOOK.CPP,v 1.29 2001-10-24 12:26:56 phaller Exp $ */
    22
    33/*
     
    783783  // ALT-Key comes in with different scan code (0xa4 == VK_LMENU_W),
    784784  // then gets translated to 0x12
    785   if ( (msg->wParam == VK_LMENU) ||
    786        (msg->wParam == VK_RMENU) )
     785  switch (msg->wParam)
    787786  {
    788     msg->wParam = VK_MENU; // 0x12
     787    case VK_LMENU:
     788    case VK_RMENU:
     789      msg->wParam = VK_MENU; // 0x12
     790      break;
     791   
     792    case VK_LCONTROL:
     793    case VK_CONTROL:
     794    msg->wParam = VK_CONTROL; // 0x11
     795      break;
    789796  }
    790797 
Note: See TracChangeset for help on using the changeset viewer.