pendlg.h

来自「一个vc编写的小游戏」· C头文件 代码 · 共 71 行

H
71
字号
#if !defined(AFX_PENDLG_H__76DE5C05_E50D_4861_BE32_F49F06D22E32__INCLUDED_)
#define AFX_PENDLG_H__76DE5C05_E50D_4861_BE32_F49F06D22E32__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPenDlg dialog
enum {PEN_STYLE_SOLID,PEN_STYLE_DASH,PEN_STYLE_DOT};
class CPenDlg : public CDialog
{
// Construction
public:
	CPenDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CPenDlg)
	enum { IDD = IDD_PENDLG };
	CSliderCtrl	m_slider;
	CComboBox	m_pHuatu;
	CEdit	m_pWidthEdit;
	int		m_pWidth;
	int		m_pStyle;
	CString	m_Tu;
	int		m_pQx;
	int		m_pQy;
	int		m_pZx;
	int		m_pZy;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPenDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg void OnDash();
	afx_msg void OnDot();
	afx_msg void OnSolid();
	afx_msg void OnChangeWidth();
	afx_msg void Onyanse();
	afx_msg void OnSelchangeNumber();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnChangeqidianX();
	afx_msg void OnChangeqidianY();
	afx_msg void OnChangezhongdianX();
	afx_msg void OnChangezhongdianY();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
protected: RECT m_pRectSample;
public:
	COLORREF m_pColor;
};

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

#endif // !defined(AFX_PENDLG_H__76DE5C05_E50D_4861_BE32_F49F06D22E32__INCLUDED_)

⌨️ 快捷键说明

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