Posting string to window
-
Hi, How can I post string from one application to another?. NSS -- modified at 23:40 Tuesday 4th October, 2005
-
Hi, How can I post string from one application to another?. NSS -- modified at 23:40 Tuesday 4th October, 2005
sthalasayanam wrote: How can I post string from one application to another?. Try WM_COPYDATA message. here is an example :- http://www.codeproject.com/threads/ipc_wmcopy.asp[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
-
sthalasayanam wrote: How can I post string from one application to another?. Try WM_COPYDATA message. here is an example :- http://www.codeproject.com/threads/ipc_wmcopy.asp[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
Thanks. Why do we have to use SendMessage() instead of PostMessage() if WM_COPYDATA event is to be posted to another windows.
-
Thanks. Why do we have to use SendMessage() instead of PostMessage() if WM_COPYDATA event is to be posted to another windows.
sthalasayanam wrote: Why do we have to use SendMessage() instead of PostMessage() if WM_COPYDATA event is to be posted to another windows. Actually there is basic difference between PostMessage and SendMessage.. When you Post message using PostMessage... it just post the message in message queue and return immediately... but in case SendMessage i doesn't return till the target program acknowledge it properly... Now i believe you get the point why WM_COPYDATA using SendMessage instead of PostMessage
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV