textinput.h

来自「一个复杂的画图系统」· C头文件 代码 · 共 50 行

H
50
字号
#if !defined(AFX_TEXTINPUT_H__26BE5461_39F7_11D4_9B7C_0000B45DD4B6__INCLUDED_)
#define AFX_TEXTINPUT_H__26BE5461_39F7_11D4_9B7C_0000B45DD4B6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// textInput.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// textInput dialog

class textInput : public CDialog
{
// Construction
public:
	textInput(CWnd* pParent = NULL);   // standard constructor
	LOGFONT log;
	COLORREF color;
// Dialog Data
	//{{AFX_DATA(textInput)
	enum { IDD = IDD_TEXTINPUT };
	CString	m_text;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(textInput)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(textInput)
	afx_msg void OnFont();
	afx_msg void OnChangeInput();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TEXTINPUT_H__26BE5461_39F7_11D4_9B7C_0000B45DD4B6__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?