PostMessage memory handling
Posted on 2003-12-02
I have a MDI application with a worker thread receiving approximately 3000 messages per minute from a socket. Some of the messages have to be processed by Child Windows if they are active. A message could apply to more than one child window.
If the worker thread post a message to the parent window, when and where can I delete the message created in the worker thread, as the worker thread doesn’t know when the child windows have finished their processing?
PS: I don't need to use SendMessage.