⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 statusbarex.h

📁 Crimson编辑器的英文版,完成从韩文版变成英文版的移植,并且附带可执行文件和注册表文件,无需原先的安装包,是改写编辑器的最理想选择.
💻 H
字号:
#if !defined(AFX_CEDTSTATUSBAR_H__14946526_5B6B_11D3_978B_00104B151BA8__INCLUDED_)
#define AFX_CEDTSTATUSBAR_H__14946526_5B6B_11D3_978B_00104B151BA8__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// CedtStatusBar.h : header file
//


/////////////////////////////////////////////////////////////////////////////
// CCedtStatusBar window
class CStatusBarEx : public CStatusBar
{
// Construction
public:
	CStatusBarEx();

// Attributes
protected:
	CDC			m_dcPane;
	CBitmap		m_bmpPane;
	CFont		m_fontPane1, m_fontPane2;

	CString		m_szPaneText;
	COLORREF	m_crPaneTextColors[256];
	BOOL		m_bPaneHighlight[256];

// Operations
public:
	void BeginProgress(LPCTSTR lpszMessage);
	void EndProgress();
	void SetProgress(INT nPercent);

	void SetPaneTextColor(INT nIndex, COLORREF crTextColor);
	void SetPaneHighlight(INT nIndex, BOOL bHighlight);

protected:
	void DrawPaneBorder(CDC * pDC, CRect rect);
	void DrawPaneText(CDC * pDC, CRect rect, LPCTSTR lpszPaneText, COLORREF crTextColor);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStatusBarEx)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CStatusBarEx();

	// Generated message map functions
protected:
	//{{AFX_MSG(CStatusBarEx)
	afx_msg void OnPaint();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CEDTSTATUSBAR_H__14946526_5B6B_11D3_978B_00104B151BA8__INCLUDED_)

⌨️ 快捷键说明

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