home *** CD-ROM | disk | FTP | other *** search
/ Master Visual C++ 1.5 / MASTERVC15.ISO / vcprog / original / ch28 / announce / mainfrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-11  |  1.0 KB  |  47 lines

  1. // mainfrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CMainFrame : public CFrameWnd
  6. {
  7. protected: // create from serialization only
  8.     CMainFrame();
  9.     DECLARE_DYNCREATE(CMainFrame)
  10.  
  11.  
  12.     //////////////////////
  13.     // MY CODE STARTS HERE
  14.     //////////////////////
  15.  
  16.     BOOL PreCreateWindow(CREATESTRUCT& cs);
  17.  
  18.     ////////////////////
  19.     // MY CODE ENDS HERE
  20.     ////////////////////
  21.  
  22.  
  23. // Attributes
  24. public:
  25.  
  26. // Operations
  27. public:
  28.  
  29. // Implementation
  30. public:
  31.     virtual ~CMainFrame();
  32. #ifdef _DEBUG
  33.     virtual void AssertValid() const;
  34.     virtual void Dump(CDumpContext& dc) const;
  35. #endif
  36.  
  37. // Generated message map functions
  38. protected:
  39.     //{{AFX_MSG(CMainFrame)
  40.         // NOTE - the ClassWizard will add and remove member functions here.
  41.         //    DO NOT EDIT what you see in these blocks of generated code!
  42.     //}}AFX_MSG
  43.     DECLARE_MESSAGE_MAP()
  44. };
  45.  
  46. /////////////////////////////////////////////////////////////////////////////
  47.