Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


write About send message and post message

Answers were Sorted based on User's Feedback



write About send message and post message..

Answer / 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

write About send message and post message..

Answer / pooja

send message doesn't follows message loop route.
while post massage follows.

examples of send message:WM_QUIT
examples of post message :WM_CLOSE,WM_COMMAND,...

Is This Answer Correct ?    4 Yes 0 No

write About send message and post message..

Answer / cheruku raghu

Both are Win32 API members.

SendMessage(...) its NonQueued Messages.


PostMessage(...) its Queued Messages.

SendMessage(...) Meassages can also be placed in a message
queue by calling PostMessage(...).

Is This Answer Correct ?    2 Yes 0 No

write About send message and post message..

Answer / shah chaitanya

SendMessage is calling window proc and waiting for reply.
where are PostMessage api is sending message in message
queue and will not wait. Then message will be in Message
queue till it will not be proceded by window proc.

In sort SendMessage waits till processing completion where
as PostMessage does not wait.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Win32API Interview Questions

java is pure object oriented programming language why?

3 Answers   HCL,


What is preemption and context switching?

0 Answers  


What is Win32?

14 Answers   AAA, Genpact, HCL, Wipro,


In Win32 application can we use CString datatype?

4 Answers  


what is use of the createWindow object

4 Answers   HCL,


Hi All, i got through he h1b Lotreey in india. US staming in the consulate is pendding . i applied from india for H1b but currently i am in germany for 1 year .i wanted to know can i attend the interview in germany.

1 Answers   MultiVision,


sql query for delete duplicate records in sql datadbase

0 Answers  


Message to limit the size of window

3 Answers  


What is GDI object?

0 Answers  


write About send message and post message

4 Answers  


what API used to hide window

2 Answers  


what Message displayed when a window is destroyed

3 Answers  


Categories