📄 statusctrl.h
字号:
#if !defined(AFX_STATUSCTRL_H__CBCF375F_27B2_4A35_B7CE_BD0893925945__INCLUDED_)
#define AFX_STATUSCTRL_H__CBCF375F_27B2_4A35_B7CE_BD0893925945__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StatusCtrl.h : Header-Datei
//
// -----------------------------------------------------------------
// Colour Codes:
// -----------------------------------------------------------------
#define COLOUR_WHITE 0
#define COLOUR_BLACK 1
#define COLOUR_BLUE 2
#define COLOUR_GREEN 3
#define COLOUR_LIGHTRED 4
#define COLOUR_BROWN 5
#define COLOUR_PURPLE 6
#define COLOUR_ORANGE 7
#define COLOUR_YELLOW 8
#define COLOUR_LIGHTGREEN 9
#define COLOUR_CYAN 10
#define COLOUR_LIGHTCYAN 11
#define COLOUR_LIGHTBLUE 12
#define COLOUR_PINK 13
#define COLOUR_GREY 14
#define COLOUR_LIGHTGREY 15
/////////////////////////////////////////////////////////////////////////////
// Fenster CStatusCtrl
class CStatusView;
class CStatusCtrl : public CRichEditCtrl
{
friend class CStatusView;
public:
CStatusCtrl();
virtual ~CStatusCtrl();
void ShowStatus(CString status, int nType);
#ifdef _UNICODE
virtual BOOL Create( DWORD in_dwStyle, const RECT& in_rcRect,
CWnd* in_pParentWnd, UINT in_nID );
#endif
// Generierte Nachrichtenzuordnungsfunktionen
protected:
BOOL m_bEmpty;
UINT_PTR m_nTimerID;
int m_nMoveToBottom;
BOOL m_doPopupCursor;
const static COLORREF m_ColTable[16]; // Colour Table
CString m_RTFHeader;
CString m_RTFHeader2;
//{{AFX_MSG(CStatusCtrl)
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
afx_msg void OnOutputcontextClearall();
afx_msg void OnOutputcontextEntercommand();
afx_msg void OnOutputcontextCopytoclipboard();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnTimer(UINT_PTR nIDEvent);
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
void ChangeFont(void);
};
#ifdef _UNICODE
class _AFX_RICHEDITEX_STATE
{
public:
_AFX_RICHEDITEX_STATE();
virtual ~_AFX_RICHEDITEX_STATE();
HINSTANCE m_hInstRichEdit20 ;
};
BOOL PASCAL AfxInitRichEditEx();
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ f黦t unmittelbar vor der vorhergehenden Zeile zus鋞zliche Deklarationen ein.
#endif // AFX_STATUSCTRL_H__CBCF375F_27B2_4A35_B7CE_BD0893925945__INCLUDED_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -