title: C# - How to PostMessage to a flash window embedded in a WebBrowser?
body: <p>I would like to know if there was any way to lock onto a Flash window and post a message to it? Another person here had the answer to it, his name is Spencer K. His question was:
  <a href="https://stackoverflow.com/questions/9653086/sending-simulated-click-via-webbrowser-in-c-sharp-to-flash-object-embedded-in-ht">Sending simulated click via WebBrowser in C# to flash object embedded in HTML</a></p>
  
  <p>Unfortunately, Mr. K wasn't very specific, and all he left behind for people reading his question was that he "got the handle and then iterated through the handles." I'm not extremely sure what he meant by that. I iterated through all visible handles using EnumWindows to no avail, as that did not return a window that was a flash window.</p>
  
  <p>I hope somebody here could tell me, as it's been driving me mad for the past few days.</p>
  
  <p>EDIT: I've just settled on inserting an SWF Object into my form and posting messages to the handle of that.</p>