📄 grammerdlg.h
字号:
// GrammerDlg.h : header file
//
#if !defined(AFX_GRAMMERDLG_H__8E103A1C_E192_4D80_A9D7_AFCF209DCB50__INCLUDED_)
#define AFX_GRAMMERDLG_H__8E103A1C_E192_4D80_A9D7_AFCF209DCB50__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ResizableDialog.h"
#include "BtnST.h"
/////////////////////////////////////////////////////////////////////////////
// CGrammerDlg dialog
class CGrammerDlg : public CResizableDialog
{
// Construction
public:
int lastbegin;
int lastend;
int lastbg;
int lasted;
CGrammerDlg(CWnd* pParent = NULL); // standard constructor
void List_Clear();
// Dialog Data
//{{AFX_DATA(CGrammerDlg)
enum { IDD = IDD_MAIN };
CListBox m_error;
CRichEditCtrl m_rich;
CButtonST m_compile;
CButtonST m_exit;
CButtonST m_run;
CButtonST m_open;
CButtonST m_save;
CListBox m_out;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGrammerDlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
HACCEL m_hAccel;
int Save_Switch;
int Open_Switch;
// Generated message map functions
//{{AFX_MSG(CGrammerDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnChangeRichedit1();
afx_msg void OnSelchangeOut();
afx_msg void On_File_Open();
afx_msg void On_File_Save();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnEditCopy();
afx_msg void OnEditPaste();
afx_msg void OnEditCut();
afx_msg void OnEditUndo();
afx_msg void OnDelete();
afx_msg void OnCompile();
afx_msg void OnRun();
afx_msg void OnEditSelectAll();
afx_msg void On_File_Exit();
afx_msg void OnClose();
afx_msg void OnFileSaveas();
afx_msg void OnFileNew();
// afx_msg void OnSelchangeOut();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GRAMMERDLG_H__8E103A1C_E192_4D80_A9D7_AFCF209DCB50__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -