简体   繁体   中英

How does Windows 7 show the thumbnails of application in taskbar?

How does Windows 7 show the thumbnails of application in taskbar?

I can even see the movies in these thumbnails playing. Is it possible to do this with VC++?

The live thumbnail previews are created by the Desktop Window Manager .

Your application can get access to them by using the DwmRegisterThumbnail and DwmUpdateThumbnailProperties functions. For more information, see the DWM Thumbnail Overview at MSDN.

If you are using Visual Studio 2010 to create an MFC application, add the following call somewhere in the CWinApp::InitInstance() method:

EnableTaskbarInteraction(true);

That's all that is required to make your app's previews visible.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM