textproperties.h

来自「此源程序是一个简单的绘图程序,你通过他可以画一些简单的图形,是一款简单的画图程序」· C头文件 代码 · 共 45 行

H
45
字号
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TextProperties.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CTextProperties dialog

class CTextProperties : public CDialog
{
// Construction
public:
	COLORREF m_TextColor;
	LOGFONT m_Font;
	CTextProperties(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CTextProperties)
	enum { IDD = IDD_DIALOG_TEXT };
	CString	m_Text;
	BOOL	m_BkMode;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CTextProperties)
	afx_msg void OnButtonFont();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

⌨️ 快捷键说明

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