home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / tutorial / autoclik / step1 / aclikdoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.7 KB  |  64 lines

  1. // AClikDoc.h : interface of the CAutoClickDoc class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 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.  
  14. class CAutoClickDoc : public CDocument
  15. {
  16. protected: // create from serialization only
  17.     CAutoClickDoc();
  18.     DECLARE_DYNCREATE(CAutoClickDoc)
  19.  
  20. // Attributes
  21. public:
  22.     CPoint m_pt;
  23.     CString m_str;
  24.  
  25. // Operations
  26. public:
  27.     void Refresh();
  28.  
  29. // Overrides
  30.     // ClassWizard generated virtual function overrides
  31.     //{{AFX_VIRTUAL(CAutoClickDoc)
  32.     public:
  33.     virtual BOOL OnNewDocument();
  34.     virtual void Serialize(CArchive& ar);
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. public:
  39.     virtual ~CAutoClickDoc();
  40. #ifdef _DEBUG
  41.     virtual void AssertValid() const;
  42.     virtual void Dump(CDumpContext& dc) const;
  43. #endif
  44.  
  45. protected:
  46.  
  47. // Generated message map functions
  48. protected:
  49.     //{{AFX_MSG(CAutoClickDoc)
  50.     afx_msg void OnEditChangetext();
  51.     //}}AFX_MSG
  52.     DECLARE_MESSAGE_MAP()
  53.  
  54.     // Generated OLE dispatch map functions
  55.     //{{AFX_DISPATCH(CAutoClickDoc)
  56.         // NOTE - the ClassWizard will add and remove member functions here.
  57.         //    DO NOT EDIT what you see in these blocks of generated code !
  58.     //}}AFX_DISPATCH
  59.     DECLARE_DISPATCH_MAP()
  60.     DECLARE_INTERFACE_MAP()
  61. };
  62.  
  63. /////////////////////////////////////////////////////////////////////////////
  64.