Paul Blades

Paul Blades

  • NA
  • 2
  • 0

C# user defined messages

Dec 12 2006 6:12 AM


Hi,

In MFC if you want to send a message say between a worker thread and user interface thread you:

1. define the message
2. add a entry to the message map for the message and handler
3. use SendMessage to send it

Can someone inform are you allowed to do this in C#, are you supposed
to do it this way in C# and what the best way of sending messages is?


Thanks
Paul