home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 6 / mastvb6.iso / leadtools / ocx32.lt / MAINDRAW.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-16  |  1.1 KB  |  48 lines

  1. // Maindraw.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.  
  15. // Operations
  16. public:
  17.  
  18. // Overrides
  19.     // ClassWizard generated virtual function overrides
  20.     //{{AFX_VIRTUAL(CMainFrame)
  21.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  22.     //}}AFX_VIRTUAL
  23.  
  24. // Implementation
  25. public:
  26.     virtual ~CMainFrame();
  27. #ifdef _DEBUG
  28.     virtual void AssertValid() const;
  29.     virtual void Dump(CDumpContext& dc) const;
  30. #endif
  31.  
  32. protected:  // control bar embedded members
  33.     CStatusBar  m_wndStatusBar;
  34.     CToolBar    m_wndToolBar;
  35.  
  36. // Generated message map functions
  37. protected:
  38.     //{{AFX_MSG(CMainFrame)
  39.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  40.     afx_msg void OnClose();
  41.     afx_msg BOOL OnQueryNewPalette();
  42.     afx_msg void OnPaletteChanged(CWnd* pFocusWnd);
  43.     //}}AFX_MSG
  44.     DECLARE_MESSAGE_MAP()
  45. };
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48.