[!if RIBBON_TOOLBAR] // This MFC Samples source code demonstrates using MFC Microsoft Office Fluent User Interface // (the "Fluent UI") and is provided only as referential material to supplement the // Microsoft Foundation Classes Reference and related electronic documentation // included with the MFC C++ library software. // License terms to copy, use or distribute the Fluent UI are available separately. // To learn more about our Fluent UI licensing program, please visit // https://go.microsoft.com/fwlink/?LinkId=238214. // // Copyright (C) Microsoft Corporation // All rights reserved. [!endif] // $inplaceframeheader$ : interface of the $inplaceframeclass$ class // #pragma once class $inplaceframeclass$ : public $inplaceframebaseclass$ { DECLARE_DYNCREATE($inplaceframeclass$) public: $inplaceframeclass$(); // Attributes public: // Operations public: // Overrides [!if DOCKING_TOOLBAR || TOOLBAR_STYLE_REBAR || MENUBAR_TOOLBAR || RIBBON_TOOLBAR] public: virtual BOOL OnCreateControlBars(CFrameWnd* pWndFrame, CFrameWnd* pWndDoc); [!endif] virtual BOOL PreCreateWindow(CREATESTRUCT& cs); // Implementation public: virtual ~$inplaceframeclass$(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: [!if DOCKING_TOOLBAR || TOOLBAR_STYLE_REBAR || MENUBAR_TOOLBAR || RIBBON_TOOLBAR] [!if MENUBAR_TOOLBAR || RIBBON_TOOLBAR] CMFCToolBar m_wndToolBar; [!else] CToolBar m_wndToolBar; [!endif] [!if TOOLBAR_STYLE_REBAR] CDialogBar m_wndDlgBar; CReBar m_wndReBar; [!endif] [!endif] COleDropTarget m_dropTarget; COleResizeBar m_wndResizeBar; // Generated message map functions protected: afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); DECLARE_MESSAGE_MAP() };