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.
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.
Previous Question | Next Question |
what Message displayed when a window is destroyed? | What is the function to repaint a window immediately? |