CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 1998
    Posts
    3

    how would i paste a string into the active text area on other app that have focas



    I am working on an app that will enable the user to have hotkeys to certain

    customized phrases. and the phrase that the particular hot key is assigned

    to will be pasted into the text area that the cursur is in. but i need a

    code example for how to find the current text area and another example of

    how i would paste it there..


    i dont want a full code example for the app i already made it i just need to

    know how to paste into another app...

  2. #2
    Join Date
    Dec 1998
    Posts
    28

    Re: how would i paste a string into the active text area on other app that have focas



    If the app to be pasted into has focus, you can use the native function SendKeys to paste. It's in the help file. Or there is the API keybd_event.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured