title: MFC - Catch Keyup Message Alt + Arrow
body: <p>How do you catch the keyup message after holding alt + arrow key down?</p>
  
  <p>For example:  I am cycling through a list using the alt + left/right key and once the user stops and lets up on the alt key I want to catch that message so I can do some processing.  (Think like cycling through pages in Visual Studio with Ctrl + Tab, and once you highlight the tab you want it processes)</p>
  
  <p>Current Code: </p>
  
  <pre><code>if ( pMsg-&gt;message == WM_SYSKEYUP )
  {
    switch( pMsg-&gt;wParam )
    {
    case VK_LEFT:
    case VK_RIGHT:
        ProcessFunctionHere(pMsg-&gt;wParam);
        break;
    default:
      break;
    }
  
  }
  </code></pre>
  
  <p>The problem with the above code is that it catches when the left/right arrow keys are let up not when the alt key is let up.</p>
  
  <p>Any help would be extremely appreciated!  </p>