home *** CD-ROM | disk | FTP | other *** search
/ Mastering Microsoft Visual C++ 4 (2nd Edition) / VisualC4.ISO / minidrw5 / mainfrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-09-30  |  1.1 KB  |  48 lines

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CMainFrame : public CFrameWnd
  6. {
  7. protected:
  8.    CSplitterWnd m_SplitterWnd;
  9.    CStatusBar m_StatusBar;
  10.    CToolBar m_ToolBar;
  11.  
  12. protected: // create from serialization only
  13.    CMainFrame();
  14.    DECLARE_DYNCREATE(CMainFrame)
  15.  
  16. // Attributes
  17. public:
  18.  
  19. // Operations
  20. public:
  21.  
  22. // Overrides
  23.    // ClassWizard generated virtual function overrides
  24.    //{{AFX_VIRTUAL(CMainFrame)
  25.    public:
  26.    virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  27.    protected:
  28.    virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  29.    //}}AFX_VIRTUAL
  30.  
  31. // Implementation
  32. public:
  33.    virtual ~CMainFrame();
  34. #ifdef _DEBUG
  35.    virtual void AssertValid() const;
  36.    virtual void Dump(CDumpContext& dc) const;
  37. #endif
  38.  
  39. // Generated message map functions
  40. protected:
  41.    //{{AFX_MSG(CMainFrame)
  42.    afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  43.    //}}AFX_MSG
  44.    DECLARE_MESSAGE_MAP()
  45. };
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48.