?? mainfrm.h
字號(hào):
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__4415D54B_4A9C_4D4B_9BCA_5664A2247838__INCLUDED_)
#define AFX_MAINFRM_H__4415D54B_4A9C_4D4B_9BCA_5664A2247838__INCLUDED_
#include "ConfigViewCess.h" // Added by ClassView
#include "ComputView.h" // Added by ClassView
#include "ConfigViewArea.h" // Added by ClassView
#include "ConfigDoc.h" // Added by ClassView
#include "BCMenu.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
// CString m_strPathName;
// CString m_strFileName;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
//}}AFX_VIRTUAL
// Implementation
public:
CString GetNameFromPath(CString path);
HMENU NewDefaultMenu();
BOOL DoSave(CString filepathname);
BOOL DoFileSave(BOOL isSaveAs);
BOOL SaveModified();
int m_nIndex;
BOOL m_bSkinned;
////
BOOL m_bCessEdit,m_bCessDelete;
BOOL m_bAreaEdit,m_bAreaDelete;
CConfigDoc *m_pConfigDoc;
BOOL m_bCreatedOK;
void SetLayout();
CComputView *m_pComputView;
CConfigViewCess *m_pConfigViewCess;
CConfigViewArea *m_pConfigViewArea;
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
CSplitterWnd m_VSplitter,m_HSplitter;
BCMenu m_menu;
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnComput();
afx_msg void OnCessAdd();
afx_msg void OnCessInsert();
afx_msg void OnCessEdit();
afx_msg void OnCessDelete();
afx_msg void OnCessClear();
afx_msg void OnDestroy();
afx_msg void OnConfigSave();
afx_msg void OnConfigLoad();
afx_msg void OnUpdateCessDelete(CCmdUI* pCmdUI);
afx_msg void OnUpdateCessEdit(CCmdUI* pCmdUI);
afx_msg void OnAreaAdd();
afx_msg void OnAreaClear();
afx_msg void OnAreaDelete();
afx_msg void OnUpdateAreaDelete(CCmdUI* pCmdUI);
afx_msg void OnAreaEdit();
afx_msg void OnUpdateAreaEdit(CCmdUI* pCmdUI);
afx_msg void OnKromo();
afx_msg void OnUpdateKromo(CCmdUI* pCmdUI);
afx_msg void OnDevior();
afx_msg void OnUpdateDevior(CCmdUI* pCmdUI);
afx_msg void OnCorona();
afx_msg void OnUpdateCorona(CCmdUI* pCmdUI);
afx_msg void OnCalc();
afx_msg void OnClose();
afx_msg void OnConfigNew();
afx_msg void OnConfigSaveas();
afx_msg void OnComputviewReset();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__4415D54B_4A9C_4D4B_9BCA_5664A2247838__INCLUDED_)
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -