Reputation: 8499
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++?
Upvotes: 4
Views: 2190
Reputation: 1851
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.
Upvotes: 1
Reputation: 28207
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.
Upvotes: 7