rbohac
asked on
Broadcast WM_USER message
I would like to do something similar to BroadcastSystemMessage, but broadcast a message of type WM_USER+whatever.
BroadcastSystemMessage won't support message types above WM_USER. It says the user must do "custom marshalling". Does anybody know how to do this?
The only reason I can think of that it can't be done would be is another application responds to the same WM_USER message in a different way. I still would like to take my chances on this one.
MSDN reference: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/messagesandmessagequeues/messagesandmessagequeuesreference/messagesandmessagequeuesfunctions/postmessage.asp
BroadcastSystemMessage won't support message types above WM_USER. It says the user must do "custom marshalling". Does anybody know how to do this?
The only reason I can think of that it can't be done would be is another application responds to the same WM_USER message in a different way. I still would like to take my chances on this one.
MSDN reference: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/messagesandmessagequeues/messagesandmessagequeuesreference/messagesandmessagequeuesfunctions/postmessage.asp
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/messagesandmessagequeues/messagesandmessagequeuesreference/messagesandmessagequeuesfunctions/registerwindowmessage.asp
here are some links that could help u, could u also give us some more info if u could?
check out the sources in the fourm.
http://www.delphi-forum.de/viewtopic.php?t=17420
http://www.swissdelphicenter.ch/torry/showcode.php?id=418
http://members.chello.be/ws36637/delphihook.html
https://www.experts-exchange.com/questions/10266282/How-to-send-a-string-to-another-program.html
Sal.
check out the sources in the fourm.
http://www.delphi-forum.de/viewtopic.php?t=17420
http://www.swissdelphicenter.ch/torry/showcode.php?id=418
http://members.chello.be/ws36637/delphihook.html
https://www.experts-exchange.com/questions/10266282/How-to-send-a-string-to-another-program.html
Sal.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Interesting. Thanks, I will give that a try this afternoon.