?? macprogressctrl.h
字號(hào):
#if !defined(AFX_MACPROGRESSCTRL_H__603BBF44_B19C_11D3_90FA_0020AFBC499D__INCLUDED_)
#define AFX_MACPROGRESSCTRL_H__603BBF44_B19C_11D3_90FA_0020AFBC499D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MacProgressCtrl.h : header file
//
// CMacProgressCtrl class, version 1.0
//
// Copyright (c) 1999 Paul M. Meidinger (pmmeidinger@yahoo.com)
//
// Feel free to modifiy and/or distribute this file, but
// do not remove this header.
//
// I would appreciate a notification of any bugs discovered or
// improvements that could be made.
//
// This file is provided "as is" with no expressed or implied warranty.
//
// History:
// PMM 12/21/1999 Initial implementation.
/////////////////////////////////////////////////////////////////////////////
// CMacProgressCtrl window
class CMacProgressCtrl : public CProgressCtrl
{
// Construction
public:
CMacProgressCtrl();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMacProgressCtrl)
//}}AFX_VIRTUAL
// Implementation
public:
BOOL GetIndeterminate();
void SetIndeterminate(BOOL bIndeterminate = TRUE);
COLORREF GetColor();
void SetColor(COLORREF crColor);
virtual ~CMacProgressCtrl();
// Generated message map functions
protected:
//{{AFX_MSG(CMacProgressCtrl)
afx_msg void OnPaint();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int m_nIndOffset;
BOOL m_bIndeterminate;
void DrawVerticalBar(CDC *pDC, const CRect rect);
void DrawHorizontalBar(CDC *pDC, const CRect rect);
void DeletePens();
void CreatePens();
CPen m_penColor;
CPen m_penColorLight;
CPen m_penColorLighter;
CPen m_penColorDark;
CPen m_penColorDarker;
CPen m_penDkShadow;
CPen m_penShadow;
CPen m_penLiteShadow;
void GetColors();
COLORREF m_crColor;
COLORREF m_crColorLight;
COLORREF m_crColorLighter;
COLORREF m_crColorLightest;
COLORREF m_crColorDark;
COLORREF m_crColorDarker;
COLORREF m_crDkShadow;
COLORREF m_crShadow;
COLORREF m_crLiteShadow;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MACPROGRESSCTRL_H__603BBF44_B19C_11D3_90FA_0020AFBC499D__INCLUDED_)
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -