home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / pserv.cpl / pserv-2.4.exe / source / MainFrm.h < prev    next >
C/C++ Source or Header  |  2005-01-05  |  2KB  |  67 lines

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_MAINFRM_H__C7372E52_5E52_4CCB_A9A1_8F41579A8882__INCLUDED_)
  6. #define AFX_MAINFRM_H__C7372E52_5E52_4CCB_A9A1_8F41579A8882__INCLUDED_
  7.  
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11.  
  12.  
  13. class CMainFrame : public CFrameWnd
  14. {
  15.     
  16. protected: // create from serialization only
  17.     CMainFrame();
  18.     DECLARE_DYNCREATE(CMainFrame)
  19.  
  20. // Attributes
  21. public:
  22.     BOOL m_bHasBeenShown;
  23.  
  24. // Operations
  25. public:
  26.     void SwitchMenu(UINT uiMenuID);
  27.  
  28. // Overrides
  29.     // ClassWizard generated virtual function overrides
  30.     //{{AFX_VIRTUAL(CMainFrame)
  31.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  32.     //}}AFX_VIRTUAL
  33.  
  34. // Implementation
  35. public:
  36.     virtual ~CMainFrame();
  37. #ifdef _DEBUG
  38.     virtual void AssertValid() const;
  39.     virtual void Dump(CDumpContext& dc) const;
  40. #endif
  41.  
  42. protected:  // control bar embedded members
  43.     CToolBar    m_wndToolBar;
  44.     CReBar      m_wndReBar;
  45.     
  46.  
  47. // Generated message map functions
  48. protected:
  49.     //{{AFX_MSG(CMainFrame)
  50.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  51.     afx_msg void OnAboutPserv2();
  52.     afx_msg void OnClose();
  53.     afx_msg void OnMove(int x, int y);
  54.     afx_msg void OnSize(UINT nType, int cx, int cy);
  55.     //}}AFX_MSG
  56.     DECLARE_MESSAGE_MAP()
  57.     afx_msg BOOL OnGetToolbarText( UINT id, NMHDR * pNotifyStruct, LRESULT * result );
  58. };
  59.  
  60. extern CMainFrame* TheMainFrame;
  61. /////////////////////////////////////////////////////////////////////////////
  62.  
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  65.  
  66. #endif // !defined(AFX_MAINFRM_H__C7372E52_5E52_4CCB_A9A1_8F41579A8882__INCLUDED_)
  67.