CMFCBaseToolBar Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CMFCBaseToolBar Class.

Base class for toolbars.

class CMFCBaseToolBar : public CPane  

Public Constructors

NameDescription
CMFCBaseToolBar::CMFCBaseToolBarDefault constructor.
CMFCBaseToolBar::~CMFCBaseToolBarDestructor.

Public Methods

NameDescription
CMFCBaseToolBar::CreateObjectUsed by the framework to create a dynamic instance of this class type.
CMFCBaseToolBar::GetDockingModeReturns the docking mode. (Overrides CBasePane::GetDockingMode.)
CMFCBaseToolBar::GetMinSizeReturns the minimum size of a toolbar. (Overrides CPane::GetMinSize.)
CMFCBaseToolBar::OnAfterChangeParentCalled by the framework after the pane's parent changes. (Overrides CBasePane::OnAfterChangeParent.)

CObject

CCmdTarget

CWnd

CBasePane

CPane

CMFCBaseToolBar

Header: afxbasetoolbar.h

Returns the docking mode.

virtual AFX_DOCK_TYPE GetDockingMode() const;  

Return Value

The docking mode.

Returns the minimum size of a toolbar.

virtual void GetMinSize(CSize& size) const;  

Parameters

[out] size
The minimum size of a toolbar.

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

virtual void OnAfterChangeParent(CWnd* pWndOldParent);

Parameters

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

Hierarchy Chart
Classes

Show: