www.pudn.com > HanMsg.rar > ProgCtrl.h


#if !defined(AFX_PROGCTRL_H__EA497688_1DEF_4FBA_A48C_433C49B68559__INCLUDED_) 
#define AFX_PROGCTRL_H__EA497688_1DEF_4FBA_A48C_433C49B68559__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// ProgCtrl.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// ProgCtrl window 
 
class ProgCtrl : public CStatic 
{ 
// Construction 
public: 
	ProgCtrl(); 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(ProgCtrl) 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~ProgCtrl(); 
 
	// Generated message map functions 
protected: 
	//{{AFX_MSG(ProgCtrl) 
	afx_msg void OnPaint(); 
	//}}AFX_MSG 
 
	DECLARE_MESSAGE_MAP() 
private: 
 
	float m_length; 
	CRect m_rect; 
	CBitmap bmpBack;//CBitmap是一个类 
	                //class CBitmap : public CGdiObject 
	CBitmap bmpFore; 
	CDC * pDCBack; 
	CDC * pDCFore; 
	BITMAP bmback;//BITMAP是一个结构体 
	BITMAP bmfore; 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_PROGCTRL_H__EA497688_1DEF_4FBA_A48C_433C49B68559__INCLUDED_)