문제

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