同意楼上的观点,这位朋友可以看看帮助啊,写的很明白的。
The SendMessage function sends the specified message to a window or windows.
The function calls the window procedure for the specified window anddo
es not return
until the window procedure has processed the message. The PostMessage function,
in contrast, posts a message to a thread's message queue and returns immediately.