MonitorSpeedWnd.h
资源名称:GGBT.rar [点击查看]
上传用户:lds876
上传日期:2013-05-25
资源大小:567k
文件大小:2k
源码类别:
P2P编程
开发平台:
Visual C++
- #if !defined(AFX_MONITORSPEEDWND_H__F9F71211_9437_4C17_A882_6CB52730FD1E__INCLUDED_)
- #define AFX_MONITORSPEEDWND_H__F9F71211_9437_4C17_A882_6CB52730FD1E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // MonitorSpeedWnd.h : header file
- //
- #include "CategoryDownload.h"
- #include "MonitorSpeedbase.h"
- /////////////////////////////////////////////////////////////////////////////
- // CMonitorSpeedWnd window
- class CMonitorSpeedWnd : public CMonitorSpeedbase
- {
- // Construction
- public:
- CMonitorSpeedWnd();
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMonitorSpeedWnd)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- BOOL CreateEx(CWnd* pParent, CRect rc, UINT uID, long lParam, CCategoryDownload* pCategoryDownload);
- virtual ~CMonitorSpeedWnd();
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMonitorSpeedWnd)
- afx_msg void OnPaint();
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg BOOL OnEraseBkgnd(CDC* pDC);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- void DrawFace(COLORREF Top, COLORREF Bottom, CRect& rc, CRect CalRc, CDC* pDC);
- CCategoryDownload* m_pCategoryDownload;
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MONITORSPEEDWND_H__F9F71211_9437_4C17_A882_6CB52730FD1E__INCLUDED_)