HeartWindow.h
资源名称:heart.zip [点击查看]
上传用户:f12e50
上传日期:2007-01-04
资源大小:21k
文件大小:1k
源码类别:
其他小程序
开发平台:
Visual C++
- #if !defined(AFX_HEARTWINDOW_H__99594806_9574_11D3_A5ED_00104B6606DD__INCLUDED_)
- #define AFX_HEARTWINDOW_H__99594806_9574_11D3_A5ED_00104B6606DD__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // HeartWindow.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // HeartWindow window
- #define HEARTWINDOW_CLASSNAME _T("HEARTWINDOW")
- #define WM_MYMOVE WM_USER+1
- class HeartWindow : public CWnd
- {
- // Construction
- public:
- HeartWindow();
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(HeartWindow)
- public:
- virtual BOOL Create(const RECT& rect, HBITMAP hbmp);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- HBITMAP m_hBitmap;
- int index;
- int height;
- int width;
- virtual ~HeartWindow();
- // Generated message map functions
- protected:
- //{{AFX_MSG(HeartWindow)
- afx_msg void OnPaint();
- afx_msg BOOL OnEraseBkgnd(CDC* pDC);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_HEARTWINDOW_H__99594806_9574_11D3_A5ED_00104B6606DD__INCLUDED_)