Share via


CMFCRibbonMiniToolBar Class

Implements a contextual popup toolbar.

class CMFCRibbonMiniToolBar : public CMFCRibbonPanelMenu

Members

Public Constructors

Name

Description

CMFCRibbonMiniToolBar::CMFCRibbonMiniToolBar

Default constructor.

CMFCRibbonMiniToolBar::~CMFCRibbonMiniToolBar

Destructor.

Public Methods

Name

Description

CMFCRibbonMiniToolBar::CreateObject

Used by the framework to create a dynamic instance of this class type.

CMFCRibbonMiniToolBar::GetThisClass

Used by the framework to obtain a pointer to the CRuntimeClass object that is associated with this class type.

CMFCRibbonMiniToolBar::IsContextMenuMode

 

CMFCRibbonMiniToolBar::IsRibbonMiniToolBar

  (Overrides CMFCPopupMenu::IsRibbonMiniToolBar.)

CMFCRibbonMiniToolBar::SetCommands

Sets the list of commands to be displayed on the toolbar.

CMFCRibbonMiniToolBar::Show

Displays the mini toolbar at the specified screen coordinates.

CMFCRibbonMiniToolBar::ShowWithContextMenu

Displays the mini toolbar together with a context menu.

Remarks

The mini toolbar is typically displayed after the user selects an object in a document. For example, after the user selects a block of text in a word processing program, the application displays a mini toolbar that contains text formatting commands.

The mini toolbar becomes transparent when the mouse pointer is out of the bounds of the mini toolbar.

Inheritance Hierarchy

CObject

   CCmdTarget

      CWnd

         CFrameWnd

            CMiniFrameWnd

               CMFCPopupMenu

                  CMFCRibbonPanelMenu

                     CMFCRibbonMiniToolBar

Requirements

Header: afxRibbonMiniToolBar.h

See Also

Reference

Hierarchy Chart

Other Resources

MFC Classes