Click here to Skip to main content
14,690,515 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to receive the event posted by postmessage() function? In other console application to check whether the event is posted from the other app successfully in VC++?
Posted
Updated 10-Aug-12 1:23am
v4
Comments
[no name] 10-Aug-12 3:33am
   
https://developer.mozilla.org/en-US/docs/DOM/window.postMessage

https://addons.mozilla.org/en-US/developers/docs/sdk/1.5/dev-guide/addon-development/content-scripts/using-postmessage.html

http://msdn.microsoft.com/en-us/library/windows/desktop/ms644944(v=vs.85).aspx

http://www.clipcode.net/mentoring/ClipcodeWebWorkers.pdf

Check this links..may be u will get help...
Volynsky Alex 10-Aug-12 5:59am
   
and here:
http://stackoverflow.com/questions/11162310/how-safe-is-it-to-eval-code-received-from-a-postmessage-event

1 solution

You need to add a Windows Message handler function to your code to receive the message so that you can process it.

If all you want to is to check for the message being sent (to debug the code) then you could use Spy++.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900