home *** CD-ROM | disk | FTP | other *** search
/ The Best of Select: Windows 95 Special 1 / WINDOWS95_1.bin / internet / vogon / mainfrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-25  |  1.3 KB  |  68 lines

  1. // mainfrm.h : interface of the CMainFrame class
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. //
  6. class CRegisterControl 
  7. {
  8.    public:
  9.  
  10.    CRegisterControl(CString PathName) ;
  11.    ~CRegisterControl() ;
  12.  
  13.    BOOL Register() ;
  14.    BOOL Unregister() ;
  15.  
  16.    protected:
  17.  
  18.    BOOL SupportsSelfRegister();
  19.  
  20.    protected:
  21.  
  22.    CString m_strPathName ;
  23. };
  24.     
  25.  
  26. /////////////////////////////////////////////////////////////////////////////
  27. //
  28.  
  29. class CMainFrame : public CMDIFrameWnd
  30. {
  31.     DECLARE_DYNAMIC(CMainFrame)
  32. public:
  33.     CMainFrame();
  34.  
  35. // Attributes
  36. public:
  37.  
  38. // Operations
  39. public:
  40.  
  41. // Implementation
  42. public:
  43.     virtual ~CMainFrame();
  44. #ifdef _DEBUG
  45.     virtual void AssertValid() const;
  46.     virtual void Dump(CDumpContext& dc) const;
  47. #endif
  48.  
  49. protected:  // control bar embedded members
  50.     CStatusBar  m_wndStatusBar;
  51.     CToolBar    m_wndToolBar;
  52.  
  53. // Generated message map functions
  54. protected:
  55.     //{{AFX_MSG(CMainFrame)
  56.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  57.     afx_msg void OnRegisterWebster();
  58.     afx_msg void OnUnregisterWebster();
  59.     //}}AFX_MSG
  60.  
  61.    afx_msg void OnUpdateStatusPane(CCmdUI *pCmdUI);
  62.    afx_msg void OnUpdateUrlPane(CCmdUI *pCmdUI);
  63.  
  64.     DECLARE_MESSAGE_MAP()
  65. };
  66.  
  67. /////////////////////////////////////////////////////////////////////////////
  68.