home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 23 / IOPROG_23.ISO / SOFT / VFORM.ZIP / Samples / VfbEx / MainFrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-10-10  |  1.6 KB  |  61 lines

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_MAINFRM_H__B643EC10_0D38_11D2_88FB_00A0C9050951__INCLUDED_)
  6. #define AFX_MAINFRM_H__B643EC10_0D38_11D2_88FB_00A0C9050951__INCLUDED_
  7.  
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11.  
  12. #include "PalHook.h"
  13.  
  14. class CMainFrame : public CMDIFrameWnd
  15. {
  16.     DECLARE_DYNAMIC(CMainFrame)
  17. public:
  18.     CMainFrame();
  19.  
  20. // Attributes
  21. public:
  22.  
  23. // Operations
  24. public:
  25.  
  26. // Overrides
  27.     // ClassWizard generated virtual function overrides
  28.     //{{AFX_VIRTUAL(CMainFrame)
  29.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  30.     //}}AFX_VIRTUAL
  31.  
  32. // Implementation
  33. public:
  34.     virtual ~CMainFrame();
  35. #ifdef _DEBUG
  36.     virtual void AssertValid() const;
  37.     virtual void Dump(CDumpContext& dc) const;
  38. #endif
  39.  
  40. protected:  // control bar embedded members
  41.     CStatusBar  m_wndStatusBar;
  42.     CToolBar    m_wndToolBar;
  43.     CPalMsgHandler m_palMsgHandler;            // handles palette messages
  44.  
  45. // Generated message map functions
  46. protected:
  47.     //{{AFX_MSG(CMainFrame)
  48.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  49.         // NOTE - the ClassWizard will add and remove member functions here.
  50.         //    DO NOT EDIT what you see in these blocks of generated code!
  51.     //}}AFX_MSG
  52.     DECLARE_MESSAGE_MAP()
  53. };
  54.  
  55. /////////////////////////////////////////////////////////////////////////////
  56.  
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  59.  
  60. #endif // !defined(AFX_MAINFRM_H__B643EC10_0D38_11D2_88FB_00A0C9050951__INCLUDED_)
  61.