Hi! I want to paste some text into an input-box of another application running. I think I have to use SendMessage(WM_PASTE,0,0), but first I must get a handle to the active input-box. The pasting is to be triggered by the user of my program, so probably the handle must be to the previously active window. Any suggestions? I'm using VC++ 5.0. Thanks! Pär