开发者

C# screenshot program cannot "see" Adobe AIR programs

Hello,

I've written a program in C# to take screenshots of rectangular areas on my screen. however i don't seem to be able to capture the information from Adobe AIR applications. Instead, the applications beneath are what i end up with.

the meat of the action revolves around System.Drawing.Graphi开发者_高级运维cs.CopyFromScreen - passing in what amounts to an upper left point and a size and grabbing that area. I've had no problems so far with anything else, including flash movies in web pages.

I really have no idea where to look, and my google searches lead me to believe i'm the only person who has ever encountered this. :O

Any ideas?


Use the print screen key to take a screenshot of an Adobe AIR application on the Windows clipboard. Paste the screenshot into MS Paint. If you don't see Adobe AIR in your screenshot, then it's an acceleration issue - Adobe AIR is using a hardware accelerated surface (i.e. DirectX or OpenGL) for all its rendering, which means it just doesn't exist in the software screen buffer (there are ways to take screenshots of accelerated surfaces in other applications, but that gets very specialized).


This doesn't help you but I just threw together a quick WinForms app to try it and I was able to take a screenshot of TweetDeck using the CopyFromScreen function.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜