Is it possible to capture the 'live' thumbnails from the Win7 taskbar? I want to display this preview (of another window) in my application, but how to extract those previews using .NET?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Yes.
MSDN Magazine explains how.
You can also use the Windows API Code Pack, which handles the interop for you.
回答2:
There's a System.Windows.Shell
namespace in .NET 4 that enables you capture thumbnails, etc. See http://blogs.msdn.com/b/usisvde/archive/2010/03/18/windows-7-taskbar-features-in-net-4.aspx