📄 mystatusbar.h
字号:
//MyStatusBar.h:
//==============
#if !define(AFX_MYSTATUSBAR_H__1D524155_62DE_11D6_8F32_00E04CE76240__INCLUDED_)
#define AFX_MYSTATUSBAR_H__1D524155_62DE_11D6_8F32_00E04CE76240__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif
#define ID_INDICATOR_TIME ID_INDICATOR_SCRL+1
class CMyStatusBar : public CStatusBar {
DECLARE_DYNCREATE(CMyStatusBar)
public:
CMyStatusBar();
~CMyStatusBar();
private:
CString m_strClockFormat;
public:
void SetClockFormat(LPCTSTR strClockFormat);
// 重写
//{{AFX_VIRTUAL(CMyStatusBar)
//}}AFX_VIRTUAL
// Generated message map functions
//{{AFX_MSG(CMyStatusBar)
afx_msg void OnDestroy();
afx_msg void OnUpdateIndicatorTime(CCmdUI* pCmdUI);
afx_msg int OnCreate( LPCREATESTRUCT lpCreateStruct );
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -