IUIContextualUI interface (uiribbon.h)

The IUIContextualUI interface is implemented by the Ribbon framework and provides the core functionality for the Context Popup View.

Inheritance

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

Methods

The IUIContextualUI interface has these methods.

Method Description
IUIContextualUI::ShowAtLocation Displays a ContextPopup.

Remarks

The Context Popup is composed of two components: the ContextMenu and MiniToolbar elements.

Note  The Context Popup acts solely as a logical container for the ContextMenu and MiniToolbar. It does not support scrolling, moving, or resizing.
 
The Context Popup is typically displayed by right-clicking the mouse (or through the keyboard shortcut SHIFT+F10) on an object of interest. The steps required to display the Context Popup are defined by the application.

The ContextMenu is a list of menu items that is contextual and based on
the control clicked or the control with focus (when using the keyboard).

The MiniToolbar is a floating toolbar that incorporates various Commands, galleries, and complex controls such as the Font Control and the Combo Box.

The following screen shot shows the Context Popup with a ContextMenu and MiniToolbar.

Screen shot with callouts showing the ContentPopup, ContextMenu, and MiniToolbar.

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

Context Popup

ContextPopup Sample