⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 atp_graphicdlg.h

📁 这是一个在VC环境下实现动态图形变化的例子
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -