0

I have several applications which want to capture a portion of the screen into a CImage.

I have been doing it by creating a CImage the size of the screen and copying the screen into it. I then create a window that overlays the screen and displays the image. I can then denote the region to capture with the mouse. Finally, I delete the window and copy the region directly from the screen.

This works reliably but causes a screen flash before and after the window is displayed. Annoying ! !

I also tried capturing the mouse and designating the area directly on the screen but even though the mouse is captured, the other applications receive the mouse up message as soon as the capture is released and interact.

The bottom line is that I need the capture mouse function to inhibit other apps from receiving the mouse messages including the button up when the capture is released.

  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Oct 10 '22 at 04:09

0 Answers0