answersLogoWhite

0


Best Answer

The difference between these two API calls is the way that they return control to the calling application. With SendMessagecontrol is not returned to the calling application until the window that the message was sent to has completed processing the sent message, however with PostMessage control is returned to the calling application immediately, regardless of weather or not the sent message has been processes. postMessage: Sends a message in the message queue associated with the thread and returns without waiting for the thread to process that messaage.

SendMessage: calls the window procedure for the specified window and does not return until the window procedure has processed the message. PostMessage is a Asynchronous function where as SendMessage is a synchronous function.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between PostMessage and SendMessage?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you add teleport commands to a rsps?

} else if (command.equalsIgnoreCase("edge")) { if (teleblock == true) { sendMessage("A magical force stops you from teleporting."); // made by dmints } else { teleportToX = 3090; teleportToY = 3499; heightLevel = 0; sendMessage("You teleport to shops."); ok then change the tox and toy to the coords u want and edge to the command name u want .. this command will teleport u to edge..


What is difference between as on and as at?

difference between as on and as at


What are the differences between California and Florida?

What is the difference between Florida and California What is the difference between Florida and California


What is the difference between physician and doctor?

what's the difference between physician and doctorwhat's the difference between physician and doctor what's the difference between physician and doctor


What difference between paging?

Difference between paging and what?


What is the difference between an enterprise and association what is the difference between an pvt ltd and ltd.?

difference between enterprise and corporation


What is the difference between an enterprise and association what is the difference between an pvt ltd and ltd?

difference between enterprise and corporation


What is the difference between a samurai and shogun?

The difference between a shogun and a samurai is like the difference between a king and a knight.


What is the difference between difference and difference?

just difference


What is the difference between the 1993 Honda accord?

Difference between it and what?


What is the difference between polyethylene and polyester?

what is the main difference between polyethylene and polyesters what is the main difference between polyethylene and polyesters


What is the difference between disneyworld and Disneyland?

The difference between Disneyland and Disneyworld is that Disneyland is in California and Florida is in Disneyworld. This is the difference between Disneyland and Disneyworld.