title: Win32 Mouse and Keyboard combination
body: <p>I need to combine mouse and keyboard events in Win32, like <code>Click</code>+<kbd>Shift</kbd> or <code>Click</code>+<kbd>Alt</kbd>+<kbd>Shift</kbd>.</p>
  
  <p>For example (pseudo code):</p>
  
  <pre><code>case WM_LBUTTONDOWN:
  
         if (Shift)
              //click+Shift
         if (Shift &amp;&amp; Ctrl)
              //click+Shift+Ctrl
         if (Shift &amp;&amp; Alt)
              //click+Shift+Alt
  break;
  </code></pre>
  
  <p>I know all necessary parameters from <a href="http://msdn.microsoft.com/en-us/library/dd375731%28VS.85%29.aspx" rel="nofollow">here</a> and <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms645607(v=vs.85).aspx" rel="nofollow">here</a>.</p>
  
  <p>But I don't know how to combine them properly.</p>