If you are going to start a new thread, referencing an old thread, please include the hyperlink to the old thread. I assume this was what you are referring to.
Full screen capture can (may) be captured by sending Print Screen (VK_SNAPSHOT 0x2C) into the keyboard using the SendInput function.
Also, there is a Windows Screen Capture Utility called SnagIt from www.techsmith.com. I've used this for about 15 years and found it quite handy. You may be able to use it alone, or together with the SendInput function to get the functionality you desire.
Yes; not to put too fine a point on it, this forum is intended for programmers. As explained, the SaveScreen module is extracted from a very large program with a huge amount of "context"; the missing items you cite are not relevent to the essentials of how to harness WinAPI functions to capture the entire screen in a DC. You can easily extract the "good stuff" and embed it into your own code (and doing so will likely improve your understanding of how it works).
I disagree with your statement, this forum is where Fortran users get help in using Fortran, a large number of users are non-programmers but mathematicians, engineers, scientists etc. This is of course my opinion and might be wrong, because I am an engineer.
Seems to me "Programmers" use other languages nowadays.
Paul's comment was for me and I agree with him.
My question was about a function that is not for beginners, to make it work I will have to understand how it works, and that is the good way to do it.
I was just not looking in the right direction, and he showed it to me. Thank you Paul
Hey folks, it's "tough love" on this forum. IMHO, programmers use Fortran to explore and solve real-world problems, and hence would definitely include scientists and engineers (and might even exclude computer specialists who only help machines turn electricity into heat). I try to respond to how-to-do-it questions with actual code, not pontification, but the idea is to engage with the code to explore how it works. As someone once almost said, "give a man a module and you feed him for a day, but teach him how the code works and you feed him for life."