home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / com / dcom / atldraw / mainfrm.h < prev    next >
C/C++ Source or Header  |  1998-04-02  |  1KB  |  54 lines

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. // This is a part of the ActiveX Template Library.
  4. // Copyright (C) 1996 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // ActiveX Template Library Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // ActiveX Template Library product.
  12. //
  13. /////////////////////////////////////////////////////////////////////////////
  14.  
  15. class CMainFrame : public CFrameWnd
  16. {
  17. protected: // create from serialization only
  18.     CMainFrame();
  19.     DECLARE_DYNCREATE(CMainFrame)
  20.  
  21. // Attributes
  22. public:
  23.  
  24. // Operations
  25. public:
  26.  
  27. // Overrides
  28.     // ClassWizard generated virtual function overrides
  29.     //{{AFX_VIRTUAL(CMainFrame)
  30.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  31.     //}}AFX_VIRTUAL
  32.  
  33. // Implementation
  34. public:
  35.     virtual ~CMainFrame();
  36. #ifdef _DEBUG
  37.     virtual void AssertValid() const;
  38.     virtual void Dump(CDumpContext& dc) const;
  39. #endif
  40.  
  41. protected:  // control bar embedded members
  42.     CStatusBar  m_wndStatusBar;
  43.     CToolBar    m_wndToolBar;
  44.  
  45. // Generated message map functions
  46. protected:
  47.     //{{AFX_MSG(CMainFrame)
  48.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  49.     //}}AFX_MSG
  50.     DECLARE_MESSAGE_MAP()
  51. };
  52.  
  53. /////////////////////////////////////////////////////////////////////////////
  54.