IUIFramework interface (uiribbon.h)

The IUIFramework interface is implemented by the Windows Ribbon framework and defines the methods that provide the core functionality for the framework.

Inheritance

The IUIFramework interface inherits from the IUnknown interface. IUIFramework also has these types of members:

Methods

The IUIFramework interface has these methods.

Method Description
IUIFramework::Destroy Terminates and releases all objects, hooks, and references for an instance of the Windows Ribbon framework.
IUIFramework::FlushPendingInvalidations Processes all pending Command updates.
IUIFramework::GetUICommandProperty Retrieves a command property, value, or state.
IUIFramework::GetView Retrieves the address of a pointer to an interface that represents a Windows Ribbon framework View, such as IUIRibbon or IUIContextualUI.
IUIFramework::Initialize Connects the host application to the Windows Ribbon framework.
IUIFramework::InvalidateUICommand Invalidates a Windows Ribbon framework Command property, value, or state.
IUIFramework::LoadUI Loads the Windows Ribbon framework UI resource, or compiled markup, file.
IUIFramework::SetModes Specifies the application modes to enable.
IUIFramework::SetUICommandProperty Sets a command property, value, or state.

Remarks

This interface is used to initialize and dismantle the Ribbon framework.

Ribbon framework UI functionality is differentiated by Views, which are essentially built-in core controls, such as the Ribbon and ContextPopup.

To get an interface pointer to the implementation of IUIFramework, use CoCreateInstanceto create a COM object with the class identifier (CLSID) of CLSID_UIRibbonFramework.

Requirements

   
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]
Target Platform Windows
Header uiribbon.h

See also

Windows Ribbon Framework Samples