Implements a special button located in the top-left corner of the application window. When clicked, the button opens a menu that usually contains common File commands like Open, Save, and Exit.
Constructs and initializes a CMFCRibbonApplicationButton object.
Used by the framework to create a dynamic instance of this class type.
Used by the framework to obtain a pointer to the CRuntimeClass object that is associated with this class type.
Assigns an image to the ribbon application button.
The following example demonstrates how to use various methods in the CMFCRibbonApplicationButton class. The example shows how to assign an image to the application button, and how to set its tooltip. This code snippet is part of the DrawClient Sample: MFC Ribbon-Based OLE Object Drawing Application.