paint.h

来自「用Visual C++实现的绘制函数图像的程序。给定任意函数表达式」· C头文件 代码 · 共 73 行

H
73
字号
#if !defined(AFX_PAINT_H__8CB32F8F_1F41_4E24_BC90_F03149D59321__INCLUDED_)
#define AFX_PAINT_H__8CB32F8F_1F41_4E24_BC90_F03149D59321__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

// Paint.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPaint dialog

class CPaint : public CDialog
{
// Construction
public:
	CPaint(CWnd* pParent = NULL);   // standard constructor
    COLORREF color,texnew;
	BOOL flag_modify;
	//{{AFX_DATA(CPaint)
	enum { IDD = IDD_DIALOG1 };
	CTabCtrl	m_choices;
	CComboBox	m_pattern;
	CString	m_expres;
	double	m_a;
	double	m_b;
	CString	m_xexpres;
	CString	m_yexpres;
	CString	m_pexpres;
	BYTE	m_line_weight;
	CString	m_zexpres;
	//}}AFX_DATA


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

// Implementation
public:

	// Generated message map functions
	//{{AFX_MSG(CPaint)
	afx_msg void OnPaint();
	afx_msg void OnButton1();
	virtual BOOL OnInitDialog();
	afx_msg void OnPaintOk();
	afx_msg void OnPaintHide();
	afx_msg void OnExit();
	afx_msg void OnChangeExpres();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnButton2();
	afx_msg void OnSelchangeTab();//NMHDR* pNMHDR, LRESULT* pResult
	afx_msg void OnPaintOk2();
	afx_msg void OnChangeXExpres();
	afx_msg void OnChangeYExpres();
	afx_msg void OnChangeExpres2();
	afx_msg void OnPaintOk3();
	afx_msg void OnModify();
	afx_msg void OnChangeZExpres();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PAINT_H__8CB32F8F_1F41_4E24_BC90_F03149D59321__INCLUDED_)

⌨️ 快捷键说明

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