?? mainfrm.h
字號:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__0C6D1D24_43BA_48E7_B2DE_BCCD02780794__INCLUDED_)
#define AFX_MAINFRM_H__0C6D1D24_43BA_48E7_B2DE_BCCD02780794__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define ID_NULL_VIEW 1000
#define ID_CODEMODI_VIEW 1001
#define ID_ZBMODI_VIEW 1002
#include "visualfx.h"
#include "TrayIcon.H" // Added by ClassView
class CMainFrame : public CFrameWnd
{
public:
CMainFrame();
protected: // create from serialization only
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
TVisualFramework m_Framework;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
BOOL m_bOptionSheetActive;
void ReApp();
bool m_bTopMost;
BOOL m_bSplitterCreated;
int m_nTimePaneNo;
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
CTrayIcon m_TrayIcon;
protected: // control bar embedded members
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
// Generated message map functions
protected:
CSplitterWnd m_wndSplitter;
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
afx_msg LRESULT OnTrayIconNotify(WPARAM wParam, LPARAM lParam);
afx_msg void OnMenuSelect(UINT nItemID, UINT nFlags, HMENU hSysMenu);
afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu);
afx_msg void OnUpdateTime(CCmdUI* pCmdUI);
afx_msg void OnSysCommand( UINT nID, LPARAM lParam );
afx_msg void OnClientClose(WPARAM wParam,LPARAM lParam);
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg BOOL OnQueryEndSession();
afx_msg void OnEndSession(BOOL bEnding);
afx_msg void OnDestroy();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnTrayiconActive();
afx_msg void OnUpdateTrayiconActive(CCmdUI* pCmdUI);
afx_msg void OnTest();
afx_msg void OnViewBringtotop();
afx_msg void OnUpdateViewBringtotop(CCmdUI* pCmdUI);
afx_msg void OnYb();
afx_msg void OnCd();
afx_msg void OnCs();
afx_msg void OnRt();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnCsrw();
afx_msg void OnViewOption();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
UINT m_nStatusPane1ID;
private:
UINT m_nStatusPane1Style;
private:
INT m_nStatusPane1Width;
private:
BOOL m_bMenuSelect;
private:
BOOL InitStatusBar(UINT *pIndicators, int nSize, int nSeconds);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__0C6D1D24_43BA_48E7_B2DE_BCCD02780794__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -