Win32API Question: Download Win32API PDF

Write About send message and post message?

Tweet Share WhatsApp

Answer:

SendMessage is a blocking call. ie., when a SendMessage()
API is called from an application, the lines written after
this API call cannot be executed until the message is
processed and returned by the window procedure.

Whereas PostMessage() just posts the message into the
windows corresponding message queue and returns immediately
irrespective of the message is processed or not.

Download Win32API PDF Read All 20 Win32API Questions
Previous QuestionNext Question
what Message displayed when a window is destroyed?What is the function to repaint a window immediately?