CMFCRibbonApplicationButton::CMFCRibbonApplicationButton

Constructs and initializes a CMFCRibbonApplicationButton object.

CMFCRibbonApplicationButton();
CMFCRibbonApplicationButton(
   UINT uiBmpResID 
);
CMFCRibbonApplicationButton(
   HBITMAP hBmp 
);

Parameters

  • uiBmpResID
    The resource ID of the image to display on the application button.

  • hBmp
    A handle to a bitmap to display on the application button.

Remarks

The ribbon application button is a special button that is located in the upper-left corner of the application window. When a user clicks this button, the application opens a menu that usually contains common File commands, such as Open, Save, and Exit.

Requirements

Header: afxRibbonBar.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonApplicationButton Class