home *** CD-ROM | disk | FTP | other *** search
- // -------------------------------------------------------------------------
- // Copyright @ 1997 TCK Software, Incorporated
- // All Rights Reserved
- // -------------------------------------------------------------------------
- // vfTestView.h : interface of the CVfTestView class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- #include "testVF.h"
- #include "PalHook.h"
-
- class CVfTestView : public CView
- {
- protected: // create from serialization only
- CTestVF m_vForm; // Test form
- // CWnd m_vForm2; // Test form2
- CPalMsgHandler m_palMsgHandler;
-
- CVfTestView();
- DECLARE_DYNCREATE(CVfTestView)
-
- // Attributes
- public:
- CVfTestDoc* GetDocument();
- void ResetPalette();
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CVfTestView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual void OnInitialUpdate();
- virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL);
- protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
- virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- virtual ~CVfTestView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CVfTestView)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg BOOL OnEraseBkgnd(CDC* pDC);
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg void OnSetFocus(CWnd* pOldWnd);
- afx_msg void OnFilePrintScreen();
- afx_msg void OnFilePrintAll();
- afx_msg void OnFilePrintSelected();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in vfTestView.cpp
- inline CVfTestDoc* CVfTestView::GetDocument()
- { return (CVfTestDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-