Win32API Question:

Download Job Interview Questions and Answers PDF

Write About send message and post message?

Win32API Interview Question
Win32API Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
what Message displayed when a window is destroyed?What is the function to repaint a window immediately?