⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 texteditor.h

📁 服务端: 这是一个完整的基于Wince 4.1图形图象,网络通讯(C/S)模式下的商用程序源代码包.
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -