Home
Forum: "Main";
Current archive: 2002.01.08;

Down

#### How to put your line in the current edit? Find similar branches

Builder   (2001-12-17 19:45) [0]

The question is - how do I insert my string into the current edit - ie - if I press ctrl + V - this is from the clipboard. And what would be the "My combination" - my line.
Answer: you throw it into the clipboard and insert it later by sending the WM_PASTE message. But for this you need a hand of the current (active) edita / memo, or I’ll get something - generally HWND; How to find it?

If anyone knows how to do this even without a clipboard, it will also work.

Nikolay   (2001-12-17 22:43) [1]

edit1.PasteFromClipboard

That's it! (With)

Builder   (2001-12-18 01:55) [2]

Yes, it is, but the problem is that far from my program

False_Delirium   (2001-12-18 02:07) [3]

SenMessage (GetFocus, WM_PAste, 0,0);

Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.01.08;