Вопрос

My Windows program copies the contents of windows using GetDC then BitBlt. This works fine for most windows, but with magnifier windows I get a blank screen. This happens whether it's a magnifier I create myself with the Magnification API or the built in Windows 7 magnifier.

Is this behavior by design, and is there a workaround?

Это было полезно?

Решение

Yes, this is by design; magnifier windows don't draw the client area themselves; instead, they use DWM to copy/magnify some other area. There's no public workaround; the bits are effectively being managed on the video card itself, and there's no backchannel available.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top