Edit box that copying and pasting?
-
hey every one... well maybe the title is not good enough to explain what is in my mind, but what i want to do is: an edit box + button and when i enter text in the edit box and click on the button then it will copy the text inside the edit box and pasting it.... i hope that i made it clear... so any way to do it? thanks alot
-
hey every one... well maybe the title is not good enough to explain what is in my mind, but what i want to do is: an edit box + button and when i enter text in the edit box and click on the button then it will copy the text inside the edit box and pasting it.... i hope that i made it clear... so any way to do it? thanks alot
Dody_DK wrote: ...it will copy the text inside the edit box... Use
GetWindowText()
for this.
"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow
-
Dody_DK wrote: ...it will copy the text inside the edit box... Use
GetWindowText()
for this.
"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow
-
oki, does GetWindowText() only copying... or copying and pasting? and if it is only for copying.. what i should use to paste? thenks alot
See here.
"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow
-
oki, does GetWindowText() only copying... or copying and pasting? and if it is only for copying.. what i should use to paste? thenks alot
-
See here.
"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow
-
I want to paste the text in other program... like word... I took a look at the link that DavidCrow put... but as i said i want it to copy and paste after i click on a button... so any idea? thaks alot
If you have the handle of the window you want to paste to, you could try sending it a
WM_PASTE
message.
"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow
-
If you have the handle of the window you want to paste to, you could try sending it a
WM_PASTE
message.
"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow
-