title: How to handle Ctrl+X shortcut keys
body: <p>I receive the first message box but not the second one when I press <kbd>Ctrl</kbd>+<kbd>Enter</kbd> together. How can I fix this?</p>
  
  <pre><code>case WM_KEYDOWN:
      if (GetKeyState(VK_CONTROL) &amp; 0x8000) {
          MessageBox(0, "Ctrl", "Key", 0);
          switch (wParam) {
              case VK_RETURN:
                  MessageBox(0, "Enter", "Key", 0);
                  break;
          }
      }
      break;
  </code></pre>