Main.h
资源名称:wx_demo.zip [点击查看]
上传用户:s2588lin
上传日期:2007-01-07
资源大小:306k
文件大小:1k
源码类别:
其他智力游戏
开发平台:
Visual C++
- class CMydrawApp:public CWinApp
- {
- public:
- CMydrawApp();
- //Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMydrawApp)
- public:
- virtual BOOL OnIdle(LONG lCount);
- virtual BOOL InitInstance();
- protected:
- //{{AFX_MSG(DirectDrawApp)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- class CMydrawFrame:public CFrameWnd
- {
- public:
- CMydrawFrame();
- protected:
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnActivate(UINT nState,CWnd *pWndOther,BOOL bMinimized);
- afx_msg void OnMouseMove(UINT,CPoint);
- afx_msg void OnPaint();
- afx_msg void OnMove(int x, int y);
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnKeyDown(UINT nIDEvent);
- afx_msg void OnLButtonDown(UINT,CPoint);
- afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
- afx_msg void OnRButtonDown(UINT fl,CPoint mp);
- afx_msg void OnLButtonUp(UINT fl,CPoint mp);
- DECLARE_MESSAGE_MAP();
- };