View Full Version : SendMessage in C++

04-05-2004, 10:32 PM
I have two dialog boxes in a window and in each dialog box there is an editbox. How can I use the function SendMessage to copy something I write in editbox1 and paste it into editbox2?

04-05-2004, 11:14 PM
Its a very odd way to do things, but you can. send WM_KEYDOWN with the params set to the proper key. You might be able to do it in a more elegant way. If we know what exactly your scenario is, maybe we can suggest...