Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Dec 2003
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    SendMessage in C++

    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?

  • #2
    Regular Coder
    Join Date
    Feb 2004
    Location
    WA
    Posts
    213
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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...
    Nobody is Perfect. I am Nobody.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •