CMFCToolBarMenuButtonsButton Class

Represents system caption buttons that are located to the right of a menu bar.

class CMFCToolBarMenuButtonsButton : public CMFCToolBarButton

Members

Public Constructors

Name

Description

CMFCToolBarMenuButtonsButton::CMFCToolBarMenuButtonsButton

 

CMFCToolBarMenuButtonsButton::~CMFCToolBarMenuButtonsButton

Destructor.

Public Methods

Name

Description

CMFCToolBarMenuButtonsButton::CanBeStored

  (Overrides CMFCToolBarButton::CanBeStored.)

CMFCToolBarMenuButtonsButton::CopyFrom

  (Overrides CMFCToolBarButton::CopyFrom.)

CMFCToolBarMenuButtonsButton::CreateObject

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

CMFCToolBarMenuButtonsButton::GetThisClass

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

CMFCToolBarMenuButtonsButton::HaveHotBorder

  (Overrides CMFCToolBarButton::HaveHotBorder.)

CMFCToolBarMenuButtonsButton::OnCalculateSize

  (Overrides CMFCToolBarButton::OnCalculateSize.)

CMFCToolBarMenuButtonsButton::OnDraw

  (Overrides CMFCToolBarButton::OnDraw.)

CMFCToolBarMenuButtonsButton::Serialize

  (Overrides CMFCToolBarButton::Serialize.)

Remarks

This class supports the MFC framework infrastructure and is not intended to be used directly from your code.

The Minimize, RestoreDown, Maximize, and Close buttons are all system caption buttons. These buttons appear when an MDI child window is maximized. The user clicks these buttons to minimize, restore, or close the MDI window.

Inheritance Hierarchy

CObject

   CMFCToolBarButton

      CMFCToolBarMenuButtonsButton

Requirements

Header: afxtoolbarmenubuttonsbutton.h

See Also

Concepts

MFC Hierarchy Chart

Other Resources

Classes (MFC Feature Pack)