title: Sending an application keystrokes with "SendMessage" (vb.net)
body: <p>So far, I have all the handle capturing and gui set up.  I'm stumped as to how to perform the actual step.</p>
  
  <p>I have this code:</p>
  
  <pre><code>SendMessage(New IntPtr(CurrentHandle), WHAT,GOES,HERE?)
  </code></pre>
  
  <p>I've been looking at:
  <a href="http://msdn.microsoft.com/en-us/library/ms644950(VS.85).aspx" rel="noreferrer">http://msdn.microsoft.com/en-us/library/ms644950(VS.85).aspx</a>
  and
  <a href="http://msdn.microsoft.com/en-us/library/ms644927(v=VS.85).aspx#system_defined" rel="noreferrer">http://msdn.microsoft.com/en-us/library/ms644927(v=VS.85).aspx#system_defined</a></p>
  
  <p>However, none of these are giving much of the "code example" method that I need to learn how to do it.  I just need to send key events such as pressing "/" or "w", etc.  No, I can't use sendkeys for this.</p>
  
  <p>Thanks if you can help!</p>