sending message Ctrl + C
-
I have a trouble like below description : My program has a dll file and a server application in the mydll.dll, I want to send a message to the server application. The message is the keyboard message, for example, WM_CHAR. I want to send a command of copying data in the server application. So, I need sending the union keys of Ctrl + C, to copy the selected text of the server application to the clipboard. However, I don't know how to do that. Please, help me, point me to some pages or give me some intruction. Thanks a lot.
-
I have a trouble like below description : My program has a dll file and a server application in the mydll.dll, I want to send a message to the server application. The message is the keyboard message, for example, WM_CHAR. I want to send a command of copying data in the server application. So, I need sending the union keys of Ctrl + C, to copy the selected text of the server application to the clipboard. However, I don't know how to do that. Please, help me, point me to some pages or give me some intruction. Thanks a lot.
vtalau wrote:
So, I need sending the union keys of Ctrl + C, to copy the selected text of the server application to the clipboard. However, I don't know how to do that.
Use the |(OR) operator to combine two values. For eg:
VK_CTRL|VK_C
Nibu thomas Software Developer