clipboard in console

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Aug 2004
Posts: 140
Reputation: Mahen is an unknown quantity at this point 
Solved Threads: 2
Mahen Mahen is offline Offline
Junior Poster

clipboard in console

 
0
  #1
Jan 4th, 2005
Hi everyone, I would like to know how to copy text from a console to the clipboard using C++. Thanks
Want a new website for free:
http://indigo.kjots.com/
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 353
Reputation: Asif_NSU is on a distinguished road 
Solved Threads: 3
Asif_NSU's Avatar
Asif_NSU Asif_NSU is offline Offline
Posting Whiz

Re: clipboard in console

 
0
  #2
Jan 5th, 2005
For winXP
1. If the console is in FULL-SCREEN then press alt+enter to make it windowed.
2. Right click on the title bar and chose properties
3. In options tab under edit options make sure "quick-edit mode" is checked.
4. Now u can select the text with ur mouse.
5. Press crtl+C.

the text is now in clipboard,
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 220
Reputation: frrossk is an unknown quantity at this point 
Solved Threads: 9
frrossk's Avatar
frrossk frrossk is offline Offline
Posting Whiz in Training

Re: clipboard in console

 
0
  #3
Jan 5th, 2005
Originally Posted by Asif_NSU
For winXP
1. If the console is in FULL-SCREEN then press alt+enter to make it windowed.
2. Right click on the title bar and chose properties
3. In options tab under edit options make sure "quick-edit mode" is checked.
4. Now u can select the text with ur mouse.
5. Press crtl+C.

the text is now in clipboard,
This doesn't sound much like C++
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 108
Reputation: prog-bman is an unknown quantity at this point 
Solved Threads: 3
prog-bman prog-bman is offline Offline
Junior Poster

Re: clipboard in console

 
0
  #4
Jan 5th, 2005
You mean you can't copy text from the console in c++
Join me on IRC:
Server: irc.daniweb.com
Channel: #C++

Chat Via:
http://daniweb.com/chat/minichat.php
or
Your favorite IRC client.
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 353
Reputation: Asif_NSU is on a distinguished road 
Solved Threads: 3
Asif_NSU's Avatar
Asif_NSU Asif_NSU is offline Offline
Posting Whiz

Re: clipboard in console

 
0
  #5
Jan 7th, 2005
hey guyz, I am extremely sorry. I did not see the "using c++" thing . I just thought he was asking how to copy something from the console to the clipboard. I mean if u need to print or copy the output that u get from c++ in console to the clipboard.
As for the solution of the actual question i have little or no clue. I just know that there is a Clipboard class for u to work in VC++ using windows clipboard. But i dont know how can u do that in console without using any predefined Clipboard class. I would like to know that myself.

Thank you and my apologies once again.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 445
Reputation: 1o0oBhP is an unknown quantity at this point 
Solved Threads: 6
1o0oBhP's Avatar
1o0oBhP 1o0oBhP is offline Offline
Posting Pro in Training

Re: clipboard in console

 
0
  #6
Jan 8th, 2005
you need to use a win32 function - but i cannot remember which one! try a google search to see what comes up
http://sales.carina-e.com

no www
no nonsense

coming soon to a pc near you! :cool:
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum


Views: 3118 | Replies: 5
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC