📄 mainfrm.h
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__0DF4F2FD_0D1B_4A03_AEE8_11A668AC3058__INCLUDED_)
#define AFX_MAINFRM_H__0DF4F2FD_0D1B_4A03_AEE8_11A668AC3058__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "WorkSpaceBar.h"
#include "SearchStatisticsView.h"
#include "StudInfoManagerView.h"
#include "OutputBar.h"
#include "ProgressStatusBar.h"
#include "TypeDef.h"
#include "OutputBar.h"
#define CFrameWnd CCJFrameWnd
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
CStudInfoManagerView* m_pStudInfoManagerView;//当前工作视图
COutputBar m_wndOutputBar; //输出信息显示栏
CProgressStatusBar m_wndStatusBar;
// Operations
public:
void ChangeView(int nID);
void ChangeOutputView(int nID);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
CToolBar m_wndToolBar;
CComboBox* m_pComboSchSort;
CWorkSpaceBar m_wndWorkSpaceBar; //工作空间栏
CSearchStatisticsView* m_pCSearchStatisticsView;
//学生信息查询与统计视图
CStudInfoManagerDoc* m_pStudInfoManagerDoc;
//文档类
CString m_strSnfData; //与数据包显示编辑框对应的变量
CString m_strResult; //与搜索结果显示编辑框对应的变量
bool m_bShow; //本系统界面的可见性
StudInfo* pStudInfo; //学生信息
int m_nCurOutputViewID; //当前结果输出视图ID
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnClose();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnExit();
afx_msg void OnHelp();
afx_msg void OnMain();
afx_msg void OnWorkspacebar();
afx_msg void OnOutputbar();
afx_msg void OnStop();
afx_msg void OnFilter();
afx_msg void OnDeleteItem();
afx_msg void OnClearList();
afx_msg void OnSearch();
afx_msg void OnDetect();
afx_msg void OnSysset();
afx_msg void OnPwdset();
afx_msg void OnHide();
//}}AFX_MSG
afx_msg LRESULT OnTrayNotification(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnHotKey(WPARAM wParam,LPARAM lParam);
DECLARE_MESSAGE_MAP()
private:
StudInfo* GetStudInfo(File* pFile);
UINT Char2UINT(char* pStr);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__0DF4F2FD_0D1B_4A03_AEE8_11A668AC3058__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -