home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 6 / mastvb6.iso / leadtools / ocx32.lt / Maindemo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-13  |  1.1 KB  |  51 lines

  1. // Maindemo.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CMainFrame : public CMDIFrameWnd
  6. {
  7.     DECLARE_DYNAMIC(CMainFrame)
  8. public:
  9.     CMainFrame();
  10.  
  11. // Attributes
  12. public:
  13.     CLead*    m_pLead;
  14. #ifndef _ALPHA_
  15.     CLeadIsis*    m_pLTIsis;
  16. #endif
  17.  
  18. // Operations
  19. public:
  20.  
  21. // Overrides
  22.     // ClassWizard generated virtual function overrides
  23.     //{{AFX_VIRTUAL(CMainFrame)
  24.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  25.     //}}AFX_VIRTUAL
  26.  
  27. // Implementation
  28. public:
  29.     virtual ~CMainFrame();
  30. #ifdef _DEBUG
  31.     virtual void AssertValid() const;
  32.     virtual void Dump(CDumpContext& dc) const;
  33. #endif
  34.  
  35. protected:  // control bar embedded members
  36.     CStatusBar  m_wndStatusBar;
  37.     CToolBar    m_wndToolBar;
  38.  
  39. // Generated message map functions
  40. protected:
  41.     //{{AFX_MSG(CMainFrame)
  42.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  43.     afx_msg BOOL OnQueryNewPalette();
  44.     afx_msg void OnPaletteChanged(CWnd* pFocusWnd);
  45.     afx_msg void OnClose();
  46.     //}}AFX_MSG
  47.     DECLARE_MESSAGE_MAP()
  48. };
  49.  
  50. /////////////////////////////////////////////////////////////////////////////
  51.