progctrl.h

来自「基于WINCE」· C头文件 代码 · 共 60 行

H
60
字号
#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_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?