String as argument to SendMessage
-
To SendMessage how to send a string as argument and how to recieve and display that string lets say in a edit box i have some text ABCD , i want to capture this text to a CString and pass this CString to Sendmessage as Wparam parameter to other remote process(iam using sockets for remote connevtion). and at remote Application i will capture this wparam and display the message how to do this using send message. Thanks in advance
abhi
-
To SendMessage how to send a string as argument and how to recieve and display that string lets say in a edit box i have some text ABCD , i want to capture this text to a CString and pass this CString to Sendmessage as Wparam parameter to other remote process(iam using sockets for remote connevtion). and at remote Application i will capture this wparam and display the message how to do this using send message. Thanks in advance
abhi
-
To SendMessage how to send a string as argument and how to recieve and display that string lets say in a edit box i have some text ABCD , i want to capture this text to a CString and pass this CString to Sendmessage as Wparam parameter to other remote process(iam using sockets for remote connevtion). and at remote Application i will capture this wparam and display the message how to do this using send message. Thanks in advance
abhi
SendMessage is for sends a message to the window
WhiteSky
-
To SendMessage how to send a string as argument and how to recieve and display that string lets say in a edit box i have some text ABCD , i want to capture this text to a CString and pass this CString to Sendmessage as Wparam parameter to other remote process(iam using sockets for remote connevtion). and at remote Application i will capture this wparam and display the message how to do this using send message. Thanks in advance
abhi
abhiramsss wrote:
Sendmessage as Wparam parameter to other remote process(iam using sockets for remote connevtion). and at remote Application i will capture this wparam and display the message
I suggest don't use
SendMessage
to send the data between client and server. Go through the following sample you will get the solution how to send the CString to remote process. http://www.codeproject.com/useritems/MFCSockets.asp[^]wrote:
Knock out 't' from can't, You can if you think you can :cool: