write About send message and post message

Answer Posted / karthikeyan

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.

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What Message to limit the size of window?

669


explain WM_PAINT message ?????

2771


What is preemption and context switching?

659


What is GDI object?

689


what is the stack size in win 32 program

936






to take three string inputs in a two dimensional array of 3 rows and 15 columns and write a function that prints them.

2162


What is an Hash Mapping in java?

2560


What is System call executable binary file into a process?

671


What is Function entry for DLL in win3.1?

666