📄 mainfrm.h
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__E710476A_1E9E_4198_A902_2FA0B32BD707__INCLUDED_)
#define AFX_MAINFRM_H__E710476A_1E9E_4198_A902_2FA0B32BD707__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include ".\\clock\\EDCLOCK.H"//工具栏上的时钟
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
// Operations
public:
BOOL PlayResource(WORD wResourceID);
BOOL CreateExToolBar();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
// CQQView* pView;
CReBar m_wndReBar; //Rebar条
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
CLEDClock m_clock; //时钟对象
public:
void RestorViewBmp();
protected:
CDialogBar m_wndDialogBar;
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnClose();
afx_msg void OnHelp();
afx_msg void OnGao();
afx_msg void OnEmail();
afx_msg void OnExit();
afx_msg void OnAppWzd();
afx_msg void OnPre();
afx_msg void OnBack();
afx_msg void OnSizing(UINT fwSide, LPRECT pRect);
afx_msg void OnTchAsy();
afx_msg void OnThesisType();
afx_msg void OnAllAsy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// CSetMaxNum dialog
class CSetMaxNum : public CDialog
{
// Construction
public:
CSetMaxNum(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSetMaxNum)
// enum { IDD = IDD_SET_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSetMaxNum)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSetMaxNum)
//}}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__E710476A_1E9E_4198_A902_2FA0B32BD707__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -