Save part of my programs own window to a bitmap file using mfc / win32

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?

+3
source share
1 answer

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/ .

+1
source

Source: https://habr.com/ru/post/1762999/


All Articles