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.

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

[out] size
The minimum size of a toolbar.

CMFCBaseToolBar::OnAfterChangeParent

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.

See Also

Hierarchy Chart
Classes