www.pudn.com > MyScreensaver.rar > MyWnd.h


#if !defined(AFX_MYWND_H__549AF120_6B7E_11D6_9E62_8122998F8B0A__INCLUDED_) 
#define AFX_MYWND_H__549AF120_6B7E_11D6_9E62_8122998F8B0A__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// MyWnd.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CMyWnd window 
 
class CMyWnd : public CWnd 
{ 
public: 
	CMyWnd(); 
	static LPCSTR lpszClassName; //×¢²áÀàÃû 
public: 
	BOOL Create(); 
public: 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMyWnd) 
protected: 
	virtual void PostNcDestroy(); 
	//}}AFX_VIRTUAL 
public: 
	virtual ~CMyWnd(); 
protected: 
	CPoint m_prePoint; //¼ì²âÊó±êÒÆ¶¯ 
	void DrawBitmap(CDC& dc, int nIndexBit); 
	//{{AFX_MSG(CMyWnd) 
	afx_msg void OnPaint(); 
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags); 
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point); 
	afx_msg void OnMButtonDown(UINT nFlags, CPoint point); 
	afx_msg void OnMouseMove(UINT nFlags, CPoint point); 
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point); 
	afx_msg void OnSysKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags); 
	afx_msg void OnDestroy(); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized); 
	afx_msg void OnActivateApp(BOOL bActive, HTASK hTask); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MYWND_H__549AF120_6B7E_11D6_9E62_8122998F8B0A__INCLUDED_)