testmulticolorplotctrldlg.h

来自「这是一个单片机开发程序」· C头文件 代码 · 共 62 行

H
62
字号
// testMultiColorPlotCtrlDlg.h : header file
//

#if !defined(AFX_TESTMULTICOLORPLOTCTRLDLG_H__2198BF3E_06EC_4DAA_8EA9_B92587F1B1E2__INCLUDED_)
#define AFX_TESTMULTICOLORPLOTCTRLDLG_H__2198BF3E_06EC_4DAA_8EA9_B92587F1B1E2__INCLUDED_

#include "MultiColorPlotCtrl.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//产生随机数
#define GetRandom( min, max ) ((rand() % (int)(((max)+1) - (min))) + (min))

/////////////////////////////////////////////////////////////////////////////
// CTestMultiColorPlotCtrlDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CTestMultiColorPlotCtrlDlg)
	enum { IDD = IDD_TESTMULTICOLORPLOTCTRL_DIALOG };
	CMultiColorPlotCtrl	m_ctrlMultiColorPlot;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CTestMultiColorPlotCtrlDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnGeidingzhi();
	afx_msg void OnChangeEdit2();
	afx_msg void OnXianshi();
	afx_msg void OnChangeEdit1();
	afx_msg void OnButton4();
	afx_msg void OnTingzhi();
	afx_msg void OnZhuandong();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TESTMULTICOLORPLOTCTRLDLG_H__2198BF3E_06EC_4DAA_8EA9_B92587F1B1E2__INCLUDED_)

⌨️ 快捷键说明

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