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 |
|---|---|
|
This tutorial and accompanying code samples are intended for C++ developers who develop desktop applications and want to take advantage of the Windows Ribbon framework. The tutorial steps you through adding an empty Ribbon to a small application, adding controls with icons, labels, and other resources to the Ribbon, and then connecting the controls to the existing command infrastructure of the application. You learn how the API maintains separation between control organization and event handling. Finally, the tutorial demonstrates how to specify layouts and resizing behavior to show how the Ribbon adapts and performs at different sizes. When you finish, you will have performed all the steps to add and customize a basic Ribbon application. | |
|
This code sample demonstrates how to implement a simple Windows Ribbon application. | |
|
This code sample demonstrates the markup and code required to implement a Windows Ribbon application with ContextPopups. | |
|
This code sample demonstrates the markup and code required to use a Windows Ribbon DropDownColorPicker control. | |
|
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. | |
|
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. | |
|
This code sample demonstrates the markup and code required to implement a FontControl within a Windows Ribbon application. | |
|
Preview Ribbon is an open-source prototyping application for the Windows Ribbon framework that generates a functional preview of the ribbon command bar from a Ribbon framework markup file—without the need to implement any underlying command code. |
Support
The Windows Ribbon Development Forum is available to discuss topics and ask questions related to developing Windows Ribbon applications.
Minimum Requirements
| 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 |