This code sample demonstrates how to implement a simple Windows Ribbon application.
- Microsoft Download Center: Windows Ribbon Samples
- Windows Software Development Kit (SDK) (standard installation path): %ProgramFiles%\Microsoft SDKs\Windows\[version number]\Samples\winui\WindowsRibbon\SimpleRibbon
Download the sample to your hard disk.
Install the Windows SDK for Windows 7 and open its build environment command window. On the Start menu, point to All Programs, Microsoft Windows SDK, and then click CMD Shell.
To build the sample from the build environment command window, go to the source directory of the sample. At the command prompt, type MSBUILD.
To build the sample in Microsoft Visual Studio, load the sample solution or project file and then press CTRL+SHIFT+B.
To run the sample from the build environment command window, execute the .exe files in the Bin\Debug or Bin\Release folder contained in the sample source folder.
To run the compiled sample with debugging in Visual Studio, press F5.
The Windows Ribbon Development Forum is available to discuss topics and ask questions related to developing Windows Ribbon applications.
|Minimum supported client||
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
|Header and IDL files||uiribbon.h, uiribbon.idl|