title: user32.dll SendMessage command causes message-sending application to pause execution
body: <p>I am using the user32 SendMessage dll command to transmit commands to a windows application.</p>
  
  <pre><code>[DllImport("user32.dll")]
  private static extern IntPtr SendMessage(IntPtr hWnd, uint msg, IntPtr wParam, IntPtr lParam);
  </code></pre>
  
  <p>One of those commands cause the application to display a modal box accepting input.</p>
  
  <p>My question is: <strong>Why does my application's code execution halt until the modal box of the other application is being closed?</strong></p>
  
  <p>Is there a way to continue the execution of my application's code without getting disturbed by the pauses caused when sending a message using the user32.dll?</p>