IEButton.h
上传用户:szcysw
上传日期:2013-03-11
资源大小:6752k
文件大小:1k
- #if !defined(AFX_IEBUTTON_H__DEA83191_D703_494B_A84A_6C1D2935F0CA__INCLUDED_)
- #define AFX_IEBUTTON_H__DEA83191_D703_494B_A84A_6C1D2935F0CA__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // IEButton.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CIEButton window
- class CIEButton : public CButton
- {
- // Construction
- public:
- CIEButton();
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CIEButton)
- public:
- virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- //设置状态,查看鼠标是否位于按钮之上
- BOOL IsMouseOn;
-
- virtual ~CIEButton();
- // Generated message map functions
- protected:
- //{{AFX_MSG(CIEButton)
- afx_msg void OnMouseMove(UINT nFlags, CPoint point);
- afx_msg void OnClicked();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_IEBUTTON_H__DEA83191_D703_494B_A84A_6C1D2935F0CA__INCLUDED_)