1. CWnd::PostMessage
Bool PostMessage(UINT message,WPARAM wParam=0,LPARAM lParam=0);
返回值:Nonzero if the message is posted; otherwise 0.(即消息是否提交成功)
说明:将消息放入windows消息队列,就直接返回,需要通过使用GetMessage或PeekMessage来获得返回的消息
2. CWnd::SendtMessage
LRESULT SendMessage(UINT message,WPARAM wParam=0,LPARAM lParam=0);
返回值:The result of the message processing; its value depends on the message sent.
说明:直接发给windows,不处理完,不返回