Click here to Skip to main content
15,881,803 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to CopyButton copy the string of EditBox and paste every where that I want( for example in notepad,other application,...)
I use visual stadio( MFC).
does it need specially function?!what?!

thank you in advance
Posted
Updated 17-Nov-13 5:10am
v2
Comments
Maciej Los 17-Nov-13 10:20am    
I have never heard about MFC Opereting System. What it is?
Sergey Alexandrovich Kryukov 17-Nov-13 23:08pm    
:-) !!!

All what you need to do is to copy data into clipboard: Clipboard: Using the Windows Clipboard[^]. It enables you to paste data from clipboard into any other application, which provides this functionality ;)
 
Share this answer
 
Comments
ridoy 17-Nov-13 15:23pm    
It is a good idea to do it.I will add some more for OP, you can have a try with SendKeys.Send() to trigger Ctrl+C and Ctrl+V to do the work.
Maciej Los 17-Nov-13 17:31pm    
Thank you, Shuvro ;)
Sergey Alexandrovich Kryukov 17-Nov-13 23:08pm    
Sure, a 5.
—SA
Maciej Los 18-Nov-13 9:04am    
Thank you, Sergey ;)
Diba.S 18-Nov-13 13:04pm    
thanks everybody :)
 
Share this answer
 
v2
Comments
Diba.S 17-Nov-13 11:04am    
actually it doesn't work corectlly , anyway that it is from microsoft page but could you please explain more about this?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900