Windows 7 Taskbar: Capture thumbnails

此生再无相见时 提交于 2019-12-10 18:06:52

问题


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



来源:https://stackoverflow.com/questions/4009064/windows-7-taskbar-capture-thumbnails

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!