when my cprogram has finished i would like to copy the screen and paste it into a file is this possible, I know you can write to a file but can you copy and paste.
In the microsoft DOS window, there is a button that is a box made out of dashed lines. Use this to select the part of the screen you want, then use the button that looks like sissors to cut it, then you can paste it in any text editing document you want
You should try to use the API function
GetStdHandle(STD_OUTPUT_HANDLE) and pass the HANDLE obtained to a call to ReadFile/ReadConsoleInput/ReadConsoleOutput APIs.
Hope this helps, s-)
Blessed is he who in the name of justice and goodwill, sheperds the weak through the valley of darkness...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.