Exercise 1: Experiment with the New Windows 7 Taskbar Features
In this exercise, you will experiment with the new Windows 7 taskbar features. You will extend a showcase application that demonstrates the use of the new taskbar functionality to provide a taskbar overlay icon, progress bar, jump list, and thumbnail previews. Most of the application’s user interface is already implemented; you will need to fill in only the missing parts that interact with the Windows 7 taskbar using Visual C++ MFC (Microsoft Foundation Class Library).
To begin this exercise, open the TaskbarDemo_Starter\TaskbarDemo.sln solution (under the Source folder) using Visual Studio 2010.
Taskbar Concepts solution structure in Visual Studio 2010
Spend a minute or two exploring the header, source and resource files. Take a look at the various dialogs and main form. Take a few moments to build and run the application as well.
Task 1—Using Taskbar Overlay Icons
Task 2—Using Taskbar Progress Bars
In this task, you will set the state and value of the application’s taskbar progress bar when the user selects the progress state from a combo box or changes the value by using a slider. MFC provides a number of methods to update the Taskbar progress bar’s value and status:
Task 3—Using Taskbar Jump Lists
In this task, you will add the functionality to support adding known categories, custom categories, destinations, and tasks to the application’s jump list. To support this, MFC provides a new class, CJumpList, that allows manipulating the categories and entries on the Taskbar application’s JumpList.