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.133 c
1:22050
Russian
2001-12-18 17:03
2002.01.08
WELL VERY INTERESTING QUESTION :))))


6:22278
garage
2001-10-02 12:27
2002.01.08
Tell me the algorithm for replacing large letters with small letters.


1:22049
greenrul
2001-12-17 18:34
2002.01.08
Как


3:21969
Kozhanov
2001-11-30 18:31
2002.01.08
OBDC driver options


4:22500
Yus
2001-11-06 20:32
2002.01.08
Coordinates of desktop icons





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 Spanish 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