ViewType1.h
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:3k
- // ViewType1.h : interface of the CViewType1 class
- //
- // This file is a part of the XTREME TOOLKIT PRO MFC class library.
- // (c)1998-2008 Codejock Software, All Rights Reserved.
- //
- // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
- // RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN
- // CONSENT OF CODEJOCK SOFTWARE.
- //
- // THIS SOURCE CODE CAN ONLY BE USED UNDER THE TERMS AND CONDITIONS OUTLINED
- // IN THE XTREME TOOLKIT PRO LICENSE AGREEMENT. CODEJOCK SOFTWARE GRANTS TO
- // YOU (ONE SOFTWARE DEVELOPER) THE LIMITED RIGHT TO USE THIS SOFTWARE ON A
- // SINGLE COMPUTER.
- //
- // CONTACT INFORMATION:
- // support@codejock.com
- // http://www.codejock.com
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_VIEWTYPECOLOR_H__D017C0B8_0276_4AB7_8F89_143D725C92ED__INCLUDED_)
- #define AFX_VIEWTYPECOLOR_H__D017C0B8_0276_4AB7_8F89_143D725C92ED__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CViewType1 : public CView
- {
- protected: // create from serialization only
- CViewType1();
- DECLARE_DYNCREATE(CViewType1)
- // Attributes
- public:
- CMDIMenusDoc* GetDocument();
- COLORREF m_clr;
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CViewType1)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- 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 ~CViewType1();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CViewType1)
- afx_msg void OnColorRed();
- afx_msg void OnColorGreen();
- afx_msg void OnColorBlue();
- afx_msg void OnUpdateColorRed(CCmdUI* pCmdUI);
- afx_msg void OnUpdateColorGreen(CCmdUI* pCmdUI);
- afx_msg void OnUpdateColorBlue(CCmdUI* pCmdUI);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in ViewType1.cpp
- inline CMDIMenusDoc* CViewType1::GetDocument()
- { return (CMDIMenusDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_VIEWTYPECOLOR_H__D017C0B8_0276_4AB7_8F89_143D725C92ED__INCLUDED_)