progress.h
来自「《Visual C++ Bible》或者说是《Visual C++ 宝典》的对应」· C头文件 代码 · 共 47 行
H
47 行
// progress.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// DProgress dialog
class DProgress : public CDialog
{
// Construction
public:
DProgress(CWnd* pParent = NULL); // standard constructor
// Attributes
int d_nPercent; // Percent complete (0 to 100).
LOGFONT d_lf; // Windows API LOGFONT font descriptor.
CFont * d_pfont; // MFC font object.
LPTSTR pstrBar; // Holds characters for percent complete bar.
void SetPercent (int n);
int GetPercent ();
void ResizeStatic(CStatic * pst);
void CenterChildWindow(CWnd * pwndChild);
// Dialog Data
//{{AFX_DATA(DProgress)
enum { IDD = IDD_PROGRESS };
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(DProgress)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(DProgress)
virtual BOOL OnInitDialog();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
//}}AFX_MSG
void OnCancel();
DECLARE_MESSAGE_MAP()
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?