?? progbar.h
字號(hào):
////////////////////////////////////////////////////////////////
// MSDN Magazine -- January 2003
// If this code works, it was written by Paul DiLascia.
// If not, I don't know who wrote it.
// Compiles with VC 6.0 or VS.NET on Windows XP. Tab size=3.
//
#include "TextProgressCtrl.h"
#pragma once
//////////////////
// Status bar with progress control.
//
class CProgStatusBar : public CStatusBar {
public:
CProgStatusBar();
virtual ~CProgStatusBar();
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CProgStatusBar)
//}}AFX_VIRTUAL
CTextProgressCtrl& GetProgressCtrl() {
return m_wndProgBar;
}
void OnProgress(UINT pct);
protected:
CTextProgressCtrl m_wndProgBar; // the progress bar
//CProgressCtrl m_wndProgBar; // the progress bar
//{{AFX_MSG(CProgStatusBar)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
DECLARE_DYNAMIC(CProgStatusBar)
};
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -