StdView.h
资源名称:ebd_src.zip [点击查看]
上传用户:kelijie
上传日期:2007-01-01
资源大小:123k
文件大小:2k
源码类别:
图形图象
开发平台:
Visual C++
- #if !defined(AFX_STDVIEW_H__CBFB110D_ED24_11D2_955D_8422F5C00000__INCLUDED_)
- #define AFX_STDVIEW_H__CBFB110D_ED24_11D2_955D_8422F5C00000__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // StdView.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CStandardView form view
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- #include "StdDoc.h"
- class _declspec(dllexport) CStandardView : public CView
- {
- public:
- CStandardView(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(CStandardView)
- // Form Data
- public:
- //{{AFX_DATA(CStandardView)
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- UINT IDD;
- int m_iPin;
- CString m_strName;
- // Attributes
- public:
- CStandardDoc* GetDocument();
- // Operations
- public:
- virtual void GetMsgFromDocument(CString msg);
- int GetViewID(void);
- void SetPinNumber(int iPin);
- int GetPinNumber(void);
- void GetName(CString* strName);
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CStandardView)
- public:
- virtual void OnDraw(CDC* pDC);
- virtual BOOL DestroyWindow();
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CStandardView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- //{{AFX_MSG(CStandardView)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_STDVIEW_H__CBFB110D_ED24_11D2_955D_8422F5C00000__INCLUDED_)
English
