Windows 7 Taskbar: Capture thumbnails

2019-07-02 21:21发布

问题:

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