settingproperty.h

来自「能够完成画直线」· C头文件 代码 · 共 59 行

H
59
字号
#if !defined(AFX_SETTINGPROPERTY_H__158F2F7A_1842_46AA_BE72_DD01633F9276__INCLUDED_)
#define AFX_SETTINGPROPERTY_H__158F2F7A_1842_46AA_BE72_DD01633F9276__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSettingProperty dialog

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

// Dialog Data
	//{{AFX_DATA(CSettingProperty)
	enum { IDD = IDD_DIALOG1 };
	UINT	m_uLineWidth;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSettingProperty)
	afx_msg void OnBnClickedSettingColor();
	virtual void OnOK();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	virtual BOOL OnInitDialog();

public:
	COLORREF m_crColor;
	int		m_nLineStyle;
	CBrush	m_brush;

};

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

#endif // !defined(AFX_SETTINGPROPERTY_H__158F2F7A_1842_46AA_BE72_DD01633F9276__INCLUDED_)

⌨️ 快捷键说明

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