StdView.h
上传用户:kelijie
上传日期:2007-01-01
资源大小:123k
文件大小:2k
源码类别:

图形图象

开发平台:

Visual C++

  1. #if !defined(AFX_STDVIEW_H__CBFB110D_ED24_11D2_955D_8422F5C00000__INCLUDED_)
  2. #define AFX_STDVIEW_H__CBFB110D_ED24_11D2_955D_8422F5C00000__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // StdView.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CStandardView form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. #include "StdDoc.h"
  14. class _declspec(dllexport) CStandardView : public CView
  15. {
  16. public:
  17. CStandardView();           // protected constructor used by dynamic creation
  18. DECLARE_DYNCREATE(CStandardView)
  19. // Form Data
  20. public:
  21. //{{AFX_DATA(CStandardView)
  22. // NOTE: the ClassWizard will add data members here
  23. //}}AFX_DATA
  24. UINT       IDD;
  25.     int        m_iPin;
  26. CString    m_strName;
  27. // Attributes
  28. public:
  29.     CStandardDoc* GetDocument();
  30. // Operations
  31. public:
  32. virtual void GetMsgFromDocument(CString msg);
  33. int GetViewID(void);
  34. void SetPinNumber(int iPin);
  35. int  GetPinNumber(void);
  36. void GetName(CString* strName);
  37. // Overrides
  38. // ClassWizard generated virtual function overrides
  39. //{{AFX_VIRTUAL(CStandardView)
  40. public:
  41. virtual void OnDraw(CDC* pDC);
  42. virtual BOOL DestroyWindow();
  43. //}}AFX_VIRTUAL
  44. // Implementation
  45. public:
  46. virtual ~CStandardView();
  47. #ifdef _DEBUG
  48. virtual void AssertValid() const;
  49. virtual void Dump(CDumpContext& dc) const;
  50. #endif
  51. // Generated message map functions
  52. //{{AFX_MSG(CStandardView)
  53. //}}AFX_MSG
  54. DECLARE_MESSAGE_MAP()
  55. };
  56. /////////////////////////////////////////////////////////////////////////////
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  59. #endif // !defined(AFX_STDVIEW_H__CBFB110D_ED24_11D2_955D_8422F5C00000__INCLUDED_)