Introduction - If you have any usage issues, please Google them yourself
Examples VC++ based multithreading, which is routine demonstrates how to use a custom message for inter-thread communication. First, the main thread sends a message to CCalculateThread thread WM_CALCULATE, CCalculateThread thread after receiving the message computing, the main thread sends WM_DISPLAY message again displays the results after the main thread receives the message.