pensetting.h

来自「使用MFC编写的实现绘图功能的程序源代码」· C头文件 代码 · 共 60 行

H
60
字号
#if !defined(AFX_PENSETTING_H__E3F65D86_D516_4ED7_B7F7_6510ABD5C36E__INCLUDED_)
#define AFX_PENSETTING_H__E3F65D86_D516_4ED7_B7F7_6510ABD5C36E__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPenSetting dialog

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

// Dialog Data
	//{{AFX_DATA(CPenSetting)
	enum { IDD = IDD_PENSETTING };
	CScrollBar	m_scrollBarRed;
	CScrollBar	m_scrollBarBlue;
	CScrollBar	m_ScrollBarPenWidth;
	CScrollBar	m_scrollBarGreen;
	int		m_nGreen;
	int		m_nBlue;
	int		m_nRed;
	int		m_nPenWidth;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPenSetting)
	afx_msg void OnDefault();
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	virtual void OnOK();
	virtual void OnCancel();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PENSETTING_H__E3F65D86_D516_4ED7_B7F7_6510ABD5C36E__INCLUDED_)

⌨️ 快捷键说明

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