?? mystatusbar.h
字號:
// MyStatusBar.h: interface for the CMyStatusBar class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(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 // _MSC_VER > 1000
//定義電子鐘窗格的ID,并賦值為其上一個窗格ID加一
#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);
// Overrides
// ClassWizard generated virtual function overrides
//{{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 // !defined(AFX_MYSTATUSBAR_H__1D524155_62DE_11D6_8F32_00E04CE76240__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -