Is there an equivalent to the win32's PostMessge() func in windows forms? How do I create a user-defined message?
What I want to do is use my Form's message pump (I'm assuming there is one underneath), to synchronize events posted by seperate threads. As far as I could tell the event-delegate mechanism works like a SendMessage type of thing so it's no good for me directly.
I spent a little more time googling, and...
If you're familiar with win32's (or MFC's) UI intricacies, mainly the difference between PostMessage and SendMessage, you can skip right ahead to "Why and when to call BeginInvoke".