propt.h

来自「一个LED楼宇亮化同步控制源码」· C头文件 代码 · 共 86 行

H
86
字号
#if !defined(AFX_PROPT_H__B6A33640_8E76_47E6_A8F0_2524993AA387__INCLUDED_)
#define AFX_PROPT_H__B6A33640_8E76_47E6_A8F0_2524993AA387__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Propt.h : header file
//
#include "Page1.h"

/////////////////////////////////////////////////////////////////////////////
// CPropt dialog
extern int List[3][100];
extern int count[3];
class CPropt : public CPropertyPage
{
	DECLARE_DYNCREATE(CPropt)

// Construction
public:
	int m_lstIndex;
	BOOL m_selChange;
	void SetList(int index);
	CPropt();
	~CPropt();
//	int List[100];
//	int m_indexList[100];
//	int m_iCount;
//	int m_iStyle;
	CRect m_RectNew;//IDC_COLOR_NEW
	typeRGB Color[100];

// Dialog Data
	//{{AFX_DATA(CPropt)
	enum { IDD = IDD_PROPPAGE_LARGE4 };
	CSpinButtonCtrl	m_spinGreen;
	CSpinButtonCtrl	m_spinRed;
	CSpinButtonCtrl	m_spinBlue;
	CSliderCtrl	m_sldRed;
	CSliderCtrl	m_sldGreen;
	CSliderCtrl	m_sldBlue;
	CListBox	m_styec;
	CString	m_edtBlueValue;
	CString	m_edtGreenValue;
	CString	m_edtRedValue;
	CString	m_stye;
	CString	m_stye1;
	int		m_sldBlueValue;
	int		m_sldGreenValue;
	int		m_sldRedValue;
	CString	m_count;
	//}}AFX_DATA


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

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CPropt)
	afx_msg void OnPaint();
	virtual BOOL OnInitDialog();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnButtonAdd();
	afx_msg void OnButtonRemove();
	afx_msg void OnDblclkList1();
	afx_msg void OnDblclkList2();
	afx_msg void OnSelchangeList2();
	afx_msg void OnSelchangeList1();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	HICON m_hIcon;

};

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

#endif // !defined(AFX_PROPT_H__B6A33640_8E76_47E6_A8F0_2524993AA387__INCLUDED_)

⌨️ 快捷键说明

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