CLIKPNT.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:2k
源码类别:
Windows编程
开发平台:
Visual C++
- // ClikPnt.h : header file
- //
- // This is a part of the Microsoft Foundation Classes C++ library.
- // Copyright (C) 1992-1998 Microsoft Corporation
- // All rights reserved.
- //
- // This source code is only intended as a supplement to the
- // Microsoft Foundation Classes Reference and related
- // electronic documentation provided with the library.
- // See these sources for detailed information regarding the
- // Microsoft Foundation Classes product.
- /////////////////////////////////////////////////////////////////////////////
- // CAutoClickPoint command target
- class CAutoClickPoint : public CCmdTarget
- {
- DECLARE_DYNCREATE(CAutoClickPoint)
- CAutoClickPoint(); // protected constructor used by dynamic creation
- // Attributes
- public:
- // Operations
- public:
- CPoint GetClickPoint() { return CPoint(m_x, m_y); }
- void SetClickPoint(CPoint point) { m_x = (short)point.x; m_y = (short)point.y; }
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CAutoClickPoint)
- public:
- virtual void OnFinalRelease();
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~CAutoClickPoint();
- // Generated message map functions
- //{{AFX_MSG(CAutoClickPoint)
- // NOTE - the ClassWizard will add and remove member functions here.
- //}}AFX_MSG
- public:
- DECLARE_MESSAGE_MAP()
- // Generated OLE dispatch map functions
- //{{AFX_DISPATCH(CAutoClickPoint)
- short m_x;
- short m_y;
- //}}AFX_DISPATCH
- DECLARE_DISPATCH_MAP()
- DECLARE_INTERFACE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////