Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.4 KiB

  1. // inputvw.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CInputView form view
  14. class CInputView : public CFormView
  15. {
  16. DECLARE_DYNCREATE(CInputView)
  17. protected:
  18. CInputView(); // protected constructor used by dynamic creation
  19. // Form Data
  20. public:
  21. //{{AFX_DATA(CInputView)
  22. enum { IDD = IDD_INPUTFORM };
  23. CString m_strData;
  24. int m_iColor;
  25. //}}AFX_DATA
  26. // Attributes
  27. public:
  28. CMainDoc* GetDocument()
  29. {
  30. ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CMainDoc)));
  31. return (CMainDoc*) m_pDocument;
  32. }
  33. // Operations
  34. public:
  35. // Implementation
  36. protected:
  37. virtual ~CInputView();
  38. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  39. virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
  40. // Generated message map functions
  41. //{{AFX_MSG(CInputView)
  42. afx_msg void OnDataChange();
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. };
  46. /////////////////////////////////////////////////////////////////////////////