In my mfc program, I need to programmatically capture part of this program window, and then save it as a file (bmp or jpg, etc.). How to do this without using a third-party library?
Here is a comprehensive sample project that provides an example of saving a window image to a bitmap: http://www.codeguru.com/cpp/gm/gdi/capturingimages/article.php/c11231/ .
Source: https://habr.com/ru/post/1762999/More articles:how can we override a method in a child class without using "virtual" in the parent class - c #Overloading Java annotations? - javaDisable automatic loading for Groovy grape - groovyHow to get groovy grape script running - groovyHow to format the date and time that is obtained from the database - dateUsing Shark to profile a game on the iPhone, pressing Start does nothing - profilingSOCKS 4/5 proxy removal - pythonDetect when Flash object is fully loaded - javascriptMore Eyeballs on My Bad Mod_rewrite Attempt Please - apacheHow to encode names in C # - c #All Articles