// MainFrm.h : interface of the CMainFrame class // ///////////////////////////////////////////////////////////////////////////// class CMainFrame : public CMDIFrameWnd { DECLARE_DYNAMIC(CMainFrame) public: CMainFrame(); // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMainFrame) virtual BOOL PreCreateWindow(CREATESTRUCT& cs); //}}AFX_VIRTUAL // Implementation public: virtual ~CMainFrame(); void EnableInterpolationModeCombo(BOOL DoEnable); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif CComboBox* GetToolbarInterpolationModeCombo(){return &m_interpolationModeCombo;}; protected: // control bar embedded members CStatusBar m_wndStatusBar; CToolBar m_wndToolBar; CToolBar m_displayToolBar; CComboBox m_interpolationModeCombo; // Generated message map functions protected: //{{AFX_MSG(CMainFrame) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnViewDisplaybar(); afx_msg void OnUpdateViewDisplaybar(CCmdUI* pCmdUI); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; /////////////////////////////////////////////////////////////////////////////