// mainfrm.h : interface of the CMainFrame class // ///////////////////////////////////////////////////////////////////////////// // class CRegisterControl { public: CRegisterControl(CString PathName) ; ~CRegisterControl() ; BOOL Register() ; BOOL Unregister() ; protected: BOOL SupportsSelfRegister(); protected: CString m_strPathName ; }; ///////////////////////////////////////////////////////////////////////////// // class CMainFrame : public CMDIFrameWnd { DECLARE_DYNAMIC(CMainFrame) public: CMainFrame(); // Attributes public: // Operations public: // Implementation public: virtual ~CMainFrame(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // control bar embedded members CStatusBar m_wndStatusBar; CToolBar m_wndToolBar; // Generated message map functions protected: //{{AFX_MSG(CMainFrame) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnRegisterWebster(); afx_msg void OnUnregisterWebster(); //}}AFX_MSG afx_msg void OnUpdateStatusPane(CCmdUI *pCmdUI); afx_msg void OnUpdateUrlPane(CCmdUI *pCmdUI); DECLARE_MESSAGE_MAP() }; /////////////////////////////////////////////////////////////////////////////