home *** CD-ROM | disk | FTP | other *** search
- // browseView.h : interface of the CBrowseView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #include "webbrowser.h"
- class CBrowseView : public CView
- {
- protected: // create from serialization only
- CBrowseView();
- DECLARE_DYNCREATE(CBrowseView)
-
- // Attributes
- public:
- void OnStatusTextChange(LPCTSTR text);
- void OnTitleChange(LPCTSTR Text);
- CWebBrowser* m_pBrowse;
- CBrowseDoc* GetDocument();
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CBrowseView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- virtual ~CBrowseView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CBrowseView)
- afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- DECLARE_EVENTSINK_MAP()
- };
-
- #ifndef _DEBUG // debug version in browseView.cpp
- inline CBrowseDoc* CBrowseView::GetDocument()
- { return (CBrowseDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-