CMFCBaseToolBar Class

Base class for toolbars.

Syntax

class CMFCBaseToolBar : public CPane

Members

Public Constructors

Name Description
CMFCBaseToolBar::CMFCBaseToolBar Default constructor.
CMFCBaseToolBar::~CMFCBaseToolBar Destructor.

Public Methods

Name Description
CMFCBaseToolBar::CreateObject Used by the framework to create a dynamic instance of this class type.
CMFCBaseToolBar::GetDockingMode Returns the docking mode. (Overrides CBasePane::GetDockingMode.)
CMFCBaseToolBar::GetMinSize Returns the minimum size of a toolbar. (Overrides CPane::GetMinSize.)
CMFCBaseToolBar::OnAfterChangeParent Called by the framework after the pane's parent changes. (Overrides CBasePane::OnAfterChangeParent.)

Inheritance Hierarchy

CObject

CCmdTarget

CWnd

CBasePane

CPane

CMFCBaseToolBar

Requirements

Header: afxbasetoolbar.h

CMFCBaseToolBar::GetDockingMode

Returns the docking mode.

virtual AFX_DOCK_TYPE GetDockingMode() const;

Return Value

The docking mode.

CMFCBaseToolBar::GetMinSize

Returns the minimum size of a toolbar.

virtual void GetMinSize(CSize& size) const;

Parameters

size
[out] The minimum size of a toolbar.

CMFCBaseToolBar::OnAfterChangeParent

Called by the framework after the pane's parent changes.

virtual void OnAfterChangeParent(CWnd* pWndOldParent);

Parameters

pWndOldParent
[in] A pointer to the previous parent window.

See also

Hierarchy Chart
Classes