setdlg.h

来自「C++写的编译器,内有详细注释,很好用,可以学习.」· C头文件 代码 · 共 58 行

H
58
字号
#if !defined(AFX_SETDLG_H__B2377062_34BC_417B_BFB0_713E3C1BA42F__INCLUDED_)
#define AFX_SETDLG_H__B2377062_34BC_417B_BFB0_713E3C1BA42F__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSetDlg dialog
#include"ColorPicker.h"

class CSetDlg : public CDialog
{
// Construction
public:
	CSetDlg(CWnd* pParent = NULL);   // standard constructor


	COLORREF m_crTextColor;
	COLORREF m_crBackColor;
	COLORREF m_crTextColor2;
	COLORREF m_crBackColor2;
	LOGFONT  m_logFont;


// Dialog Data
	//{{AFX_DATA(CSetDlg)
	enum { IDD = IDD_SETDLG };
	CColorPicker	m_btnBackColor;
	CColorPicker	m_btnTextColor;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSetDlg)
	afx_msg void OnButtonTextcolor();
	afx_msg void OnButtonBackcolor();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SETDLG_H__B2377062_34BC_417B_BFB0_713E3C1BA42F__INCLUDED_)

⌨️ 快捷键说明

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