CMFCBaseToolBar Class
Visual Studio 2015
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
| 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.) |
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.
Show: