www.pudn.com > heart.zip > HeartMouseDlg.h, change:1999-11-11,size:1948b


// HeartMouseDlg.h : header file 
// 
 
#if !defined(AFX_HEARTMOUSEDLG_H__995947FE_9574_11D3_A5ED_00104B6606DD__INCLUDED_) 
#define AFX_HEARTMOUSEDLG_H__995947FE_9574_11D3_A5ED_00104B6606DD__INCLUDED_ 
 
#if _MSC_VER >= 1000 
#pragma once 
#endif // _MSC_VER >= 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CHeartMouseDlg dialog 
#define HEARTNUM 6 
#define POINTNUM 10240 
#define WM_MY_NOTIFY WM_USER+10 
#include "heartwindow.h" 
class CHeartMouseDlg : public CDialog 
{ 
// Construction 
public: 
	POINT points[POINTNUM]; 
	CHeartMouseDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CHeartMouseDlg) 
	enum { IDD = IDD_HEARTMOUSE_DIALOG }; 
		// NOTE: the ClassWizard will add data members here 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CHeartMouseDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
	HICON m_hIconbar; 
 
	// Generated message map functions 
	//{{AFX_MSG(CHeartMouseDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnDestroy(); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnMyMove(WPARAM w, LPARAM l); 
	afx_msg void OnMyNotify(WPARAM w, LPARAM l); 
	afx_msg void OnHide(); 
	afx_msg void OnShow(); 
	afx_msg void OnLoad(); 
	virtual void OnCancel(); 
	afx_msg void OnOK(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
private: 
	HBITMAP m_hBitmap; 
	void Start(); 
	void Stop(); 
	int total; 
	HeartWindow * ha[HEARTNUM]; 
	int head, tail; 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Developer Studio will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_HEARTMOUSEDLG_H__995947FE_9574_11D3_A5ED_00104B6606DD__INCLUDED_)