Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

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

2Nikolay :( read more carefully.



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

AttachThreadInput (..., 1);
SenMessage (GetFocus, WM_PAste, 0,0);
AttachThreadInput (..., 0);



Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top









Memory: 0.55 MB
Time: 0.03 c
14-22376
Brand-new
2001-11-07 01:11
2002.01.08
help someone can


1-22235
DDDeN
2001-12-17 06:47
2002.01.08
Screensaver


7-22440
Rumrunner
2001-05-13 00:32
2002.01.08
Win98 has the ability to allow Internet sharing for the local network.


3-21918
SVS
2001-12-04 13:11
2002.01.08
filling in OleContainer from BlobField


1-22170
AVALLOGIGS
2001-12-20 19:37
2002.01.08
Help!





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Español swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish