Windows Ribbon Framework Samples

The topics contained in this section provide details about the code samples that support the Windows Ribbon framework documentation.

Download Information

The Windows Ribbon framework samples can be downloaded as standalone Microsoft Visual Studio projects from the Microsoft Download Center or installed as part of the Windows Software Development Kit (SDK).

Samples

Sample Description
SimpleRibbon Sample
This code sample demonstrates how to implement a simple Windows Ribbon application.
ContextPopup Sample
This code sample demonstrates the markup and code required to implement a Windows Ribbon application with ContextPopups.
DropDownColorPicker Sample
This code sample demonstrates the markup and code required to use a Windows Ribbon DropDownColorPicker control.
Gallery Sample
This code sample demonstrates the markup and code required to use the different types of Gallery controls included in the Ribbon framework. The sample includes code that can be used to dynamically populate items into the Galleries, and handle special Gallery previewing events that support results-oriented UI.
HTMLEditRibbon Sample
This code sample shows markup and code required to migrate an existing Microsoft Foundation Classes (MFC) application to use the Windows Ribbon. It was created by taking the existing MFC HTMLEdit sample application and modifying its code and resources to use the Windows Ribbon.
FontControl Sample
This code sample demonstrates the markup and code required to implement a FontControl within a Windows Ribbon application.

Support

The Windows Ribbon Development Forum is available to discuss topics and ask questions related to developing Windows Ribbon applications.

Minimum Requirements

Requirement Value
Minimum supported client Windows 7
Windows Vista with Service Pack 2 (SP2) and Platform Update for Windows Vista
Minimum supported server Windows Server 2008 R2
Windows Server 2008 with SP2 and Platform Update for Windows Server 2008
Windows Software Development Kit (SDK) 7.0
Header and IDL files uiribbon.h, uiribbon.idl

Note

The Platform Update for Windows Vista and Platform Update for Windows Server 2008 are sets of run-time libraries that enable developers to target Windows Ribbon applications to both Windows Vista and Windows Server 2008. The platform updates will be available to all Windows Vista and Windows Server 2008 customers through Windows Update. Third-party applications that require Platform Update for Windows Vista or Platform Update for Windows Server 2008 can have Windows Update detect whether the required updated is installed; if it is not, Windows Update will download and install it in the background.