A quick Google indicates the only difference between PostMessage and SendMessage is that PostMessage returns immediately while SendMessage waits for the recipient to process the message.
You are correct, but you have missed the significance.
If the timer handler -- your custom function -- takes a long time to run, it will cause your GUI to freeze until it is finished.
The message is added to the queue and processed when it reaches the top. This allowing the originator of the message to do other things during the interim.
In reply to Re^3: Win32::GUI sending Windows messages between threads
by BrowserUk
in thread Win32::GUI sending Windows messages between threads [solved]
by shadrack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |