crop window region and save as image (win32)
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Let's say I have a window created and I'm interested on certain region in that window (say rect(10,10,300,300)) and want to somehow crop it and save as an image file. May I know how can I do this?
-
Let's say I have a window created and I'm interested on certain region in that window (say rect(10,10,300,300)) and want to somehow crop it and save as an image file. May I know how can I do this?
You can copy part of the Window to a new device context using the
BitBlt
function[^]. This article[^] shows how to save it to a file.Use the best guess