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?

834


What is System call executable binary file into a process?

864


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

2367


What is Function entry for DLL in win3.1?

857


What is an Hash Mapping in java?

2785


What is preemption and context switching?

830


explain WM_PAINT message ?????

2946


what is the stack size in win 32 program

1113


What is GDI object?

852