lineattr.h

来自「这是书上的代码」· C头文件 代码 · 共 61 行

H
61
字号
#if !defined(AFX_LINEATTR_H__B9D99A21_2A6B_11D4_A4DD_00D0B7213322__INCLUDED_)
#define AFX_LINEATTR_H__B9D99A21_2A6B_11D4_A4DD_00D0B7213322__INCLUDED_

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

#include "Resource.h"

/////////////////////////////////////////////////////////////////////////////
// CLineattr dialog
//直线属性对话框
class CLineattr : public CDialog
{
// Construction
public:
	
	CLineattr(CWnd* pParent = NULL);   // standard constructor
	CPainted* m_pActive1;	//表示某一绘图类被选中
	CPaintobjDoc* m_pDoc;
// Dialog Data
	//{{AFX_DATA(CLineattr)
	enum { IDD = IDD_LINEATTR };
	UINT	m_uEndId;
	UINT	m_uPathId;
	double	m_fPathLimit;
	UINT	m_uStartId;
	double	m_fPathAngle;
	double	m_fPathLength;
	int		m_Guidance;
	int		m_PathHead;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CLineattr)
	virtual void OnOK();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_LINEATTR_H__B9D99A21_2A6B_11D4_A4DD_00D0B7213322__INCLUDED_)

⌨️ 快捷键说明

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