atp_graphicdlg.h

来自「这是一个在VC环境下实现动态图形变化的例子」· C头文件 代码 · 共 66 行

H
66
字号
#if !defined(AFX_ATP_GRAPHICDLG_H__71086604_625E_4B8C_B0EA_5004919AB472__INCLUDED_)
#define AFX_ATP_GRAPHICDLG_H__71086604_625E_4B8C_B0EA_5004919AB472__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// ATP_GraphicDlg dialog
#include <afxtempl.h>

typedef CList<int,int> IntList;
typedef CArray <double,double> myArray;


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

	HWND m_hPE;
	double  m_dfXMinValue;
	double  m_dfXMaxValue;
	double  m_dfYMinValue;
	double  m_dfYMaxValue;

	char    m_szMainTitle[256];
	char    m_szSubTitle[256];
	char    m_szXLabel[256];
	char    m_szYLabel[256];
	
    IntList m_XData;
	IntList m_YData;
// Dialog Data
	//{{AFX_DATA(ATP_GraphicDlg)
	enum { IDD = IDD_ATP_GRAPH_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(ATP_GraphicDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_ATP_GRAPHICDLG_H__71086604_625E_4B8C_B0EA_5004919AB472__INCLUDED_)

⌨️ 快捷键说明

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