www.pudn.com > vc++6.0screen.rar > ScreenWnd.h
#if !defined(AFX_SCREENWND_H__738B916A_8642_4724_B939_B6D39D323AE5__INCLUDED_)
#define AFX_SCREENWND_H__738B916A_8642_4724_B939_B6D39D323AE5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ScreenWnd.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CScreenWnd window
class CScreenWnd : public CWnd
{
// Construction
public:
CScreenWnd();
static LPCSTR lpszClassName; //×¢²áÀàÃû
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CScreenWnd)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CScreenWnd();
BOOL Create();
// Generated message map functions
protected:
UINT m_timer;
CPoint m_prePoint; //¼ì²âÊó±êÒÆ¶¯
void DrawBitmap(CDC& dc, int nIndexBit);
//{{AFX_MSG(CScreenWnd)
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnLButtonDown(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 OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
afx_msg void OnActivateApp(BOOL bActive, HTASK hTask);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnPaint();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SCREENWND_H__738B916A_8642_4724_B939_B6D39D323AE5__INCLUDED_)