PointInfo.h
上传用户:z_mail1980
上传日期:2007-06-01
资源大小:647k
文件大小:1k
- #if !defined(AFX_POINTINFO_H__0C98B4A4_F9F3_467C_893F_4370205A1CDE__INCLUDED_)
- #define AFX_POINTINFO_H__0C98B4A4_F9F3_467C_893F_4370205A1CDE__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // PointInfo.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CPointInfo dialog
- #define WM_ADD_POINT (WM_USER+100)
- #define WM_DELETE_POINT (WM_USER+101)
- #define WM_MOUSE_CHANGED (WM_USER+102)
- class CPointInfo : public CDialog
- {
- CWnd *m_pParentWnd;
- // Construction
- public:
- CPointInfo(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CPointInfo)
- enum { IDD = IDD_MOUSE_POINT_DIALOG };
- CListBox m_List;
- CString m_strMouseX;
- CString m_strMouseY;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPointInfo)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CPointInfo)
- afx_msg void OnDelete();
- afx_msg void OnClose();
- afx_msg void OnAddPoint(WPARAM wParam,LPARAM lParam);
- afx_msg void OnMouseChanged(WPARAM wParam,LPARAM lParam);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_POINTINFO_H__0C98B4A4_F9F3_467C_893F_4370205A1CDE__INCLUDED_)