pendialog.h

来自「Beginning Visual C++ 6源码。Wrox。」· C头文件 代码 · 共 57 行

H
57
字号
#if !defined(AFX_PENDIALOG_H__AD381319_1C8F_11D2_99B1_00104B4C84A4__INCLUDED_)
#define AFX_PENDIALOG_H__AD381319_1C8F_11D2_99B1_00104B4C84A4__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPenDialog dialog

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

// Dialog Data
	//{{AFX_DATA(CPenDialog)
	enum { IDD = IDD_PENWIDTH_DLG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

// Data stored in the dialog
public:
   int m_PenWidth;                     // Record the pen width


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPenDialog)
	virtual BOOL OnInitDialog();
	afx_msg void OnPenwidth0();
	afx_msg void OnPenwidth1();
	afx_msg void OnPenwidth2();
	afx_msg void OnPenwidth3();
	afx_msg void OnPenwidth4();
	afx_msg void OnPenwidth5();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PENDIALOG_H__AD381319_1C8F_11D2_99B1_00104B4C84A4__INCLUDED_)

⌨️ 快捷键说明

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