texteditor.h
来自「服务端: 这是一个完整的基于Wince 4.1图形图象,网络通讯(C/S)模式」· C头文件 代码 · 共 64 行
H
64 行
#if !defined(AFX_TEXTEDITOR_H__EB981F80_6FA3_4773_949C_243E25DB028E__INCLUDED_)
#define AFX_TEXTEDITOR_H__EB981F80_6FA3_4773_949C_243E25DB028E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TextEditor.h : header file
//
#include "ColorWnd.h"
/////////////////////////////////////////////////////////////////////////////
// CTextEditor dialog
class CTextEditor : public CDialog
{
// Construction
public:
CTextEditor(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CTextEditor)
enum { IDD = IDD_TEXTEDITOR_DIALOG };
CEdit m_text_editor;
CComboBox m_fontlist_combobox;
CColorWnd m_fc_static;
CColorWnd m_bc_static;
BOOL m_auto_return;
CString m_edit_filename;
long m_fontheight;
long m_fontwidth;
long m_startx;
long m_starty;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTextEditor)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
WCHAR *buff;
// Generated message map functions
//{{AFX_MSG(CTextEditor)
virtual BOOL OnInitDialog();
afx_msg void OnOkButton();
afx_msg void OnCancelButton();
afx_msg void OnNewButton();
afx_msg void OnOpenButton();
afx_msg void OnSaveButton();
afx_msg void OnSaveasButton();
afx_msg void OnSetfcButton();
afx_msg void OnSetbcButton();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TEXTEDITOR_H__EB981F80_6FA3_4773_949C_243E25DB028E__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?